def METHOD_NAME(self):
    self.parsed_responses = [
        {
            "Regions": [
                {
                    "Endpoint": "ec2.ap-south-1.amazonaws.com",
                    "RegionName": "ap-south-1"
                },
            ]
        }
    ]
    self.run_cmd('ec2 describe-regions', expected_rc=0)
    self.run_cmd('history show --exclude CLI_ARGUMENTS', expected_rc=0)
    # Make sure the API call was not included because of the filter,
    # but all other events such as the version are included.
    #
    # The show command writes the history out as binary to the attached
    # stream so we want to determine if the values are in the binary
    # stdout stream
    self.assertNotIn(b'describe-regions', self.binary_stdout.getvalue())
    self.assertIn(b'version', self.binary_stdout.getvalue())