APIGateway / Client / delete_base_path_mapping

delete_base_path_mapping#

APIGateway.Client.delete_base_path_mapping(**kwargs)#

Deletes the BasePathMapping resource.

See also: AWS API Documentation

Request Syntax

response = client.delete_base_path_mapping(
    domainName='string',
    domainNameId='string',
    basePath='string'
)
Parameters:
  • domainName (string) –

    [REQUIRED]

    The domain name of the BasePathMapping resource to delete.

  • domainNameId (string) – The identifier for the domain name resource. Supported only for private custom domain names.

  • basePath (string) –

    [REQUIRED]

    The base path name of the BasePathMapping resource to delete.

    To specify an empty base path, set this parameter to '(none)'.

Returns:

None

Exceptions

  • APIGateway.Client.exceptions.BadRequestException

  • APIGateway.Client.exceptions.ConflictException

  • APIGateway.Client.exceptions.NotFoundException

  • APIGateway.Client.exceptions.UnauthorizedException

  • APIGateway.Client.exceptions.TooManyRequestsException