delete_access_log_settings

ApiGatewayV2.Client.delete_access_log_settings(**kwargs)

Deletes the AccessLogSettings for a Stage. To disable access logging for a Stage, delete its AccessLogSettings.

See also: AWS API Documentation

Request Syntax

response = client.delete_access_log_settings(
    ApiId='string',
    StageName='string'
)
Parameters
  • ApiId (string) --

    [REQUIRED]

    The API identifier.

  • StageName (string) --

    [REQUIRED]

    The stage name. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.

Returns

None

Exceptions

  • ApiGatewayV2.Client.exceptions.NotFoundException
  • ApiGatewayV2.Client.exceptions.TooManyRequestsException