

def setup_services(self, parsed_globals):
    self._source_region = parsed_globals.region
    self.s3_client_provider = S3ClientProvider(self._session, self._source_region)
    client_args = {
        'region_name': parsed_globals.region,
        'verify': client_args.verify_ssl,
    }
    if (parsed_globals.endpoint_url is not None):
        client_args['endpoint_url'] = parsed_globals.endpoint_url
    self.cloudtrail_client = self._session.create_client('cloudtrail', **client_args)

dataset/ETHPy150Open aws/aws-cli/awscli/customizations/cloudtrail/validation.py CloudTrailValidateLogs.setup_services/VarMisuse@48/76 `parsed_globals`->`client_args`