delete_model

delete_model(**kwargs)

Deletes a model.

See also: AWS API Documentation

Request Syntax

response = client.delete_model(
    restApiId='string',
    modelName='string'
)
Parameters
  • restApiId (string) --

    [REQUIRED]

    The string identifier of the associated RestApi.

  • modelName (string) --

    [REQUIRED]

    The name of the model to delete.

Returns

None

Exceptions

  • APIGateway.Client.exceptions.BadRequestException
  • APIGateway.Client.exceptions.ConflictException
  • APIGateway.Client.exceptions.NotFoundException
  • APIGateway.Client.exceptions.UnauthorizedException
  • APIGateway.Client.exceptions.TooManyRequestsException