def add_endpoint_url(self, parsed_globals):
        """
        Adds endpoint_url to the parameters.
        """
        if 'endpoint_url' in parsed_globals:
            self.parameters['endpoint_url'] = getattr(parsed_globals,
                                                      'endpoint_url')
        else:
            self.parameters['endpoint_url'] = None
dataset/ETHPy150Open aws/aws-cli/awscli/customizations/s3/subcommands.py/CommandParameters.add_endpoint_url/original