Class: Aws::APIGateway::Types::GetGatewayResponseRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-apigateway/types.rb

Overview

Note:

When making an API call, you may pass GetGatewayResponseRequest data as a hash:

{
  rest_api_id: "String", # required
  response_type: "DEFAULT_4XX", # required, accepts DEFAULT_4XX, DEFAULT_5XX, RESOURCE_NOT_FOUND, UNAUTHORIZED, INVALID_API_KEY, ACCESS_DENIED, AUTHORIZER_FAILURE, AUTHORIZER_CONFIGURATION_ERROR, INVALID_SIGNATURE, EXPIRED_TOKEN, MISSING_AUTHENTICATION_TOKEN, INTEGRATION_FAILURE, INTEGRATION_TIMEOUT, API_CONFIGURATION_ERROR, UNSUPPORTED_MEDIA_TYPE, BAD_REQUEST_PARAMETERS, BAD_REQUEST_BODY, REQUEST_TOO_LARGE, THROTTLED, QUOTA_EXCEEDED, WAF_FILTERED
}

Gets a GatewayResponse of a specified response type on the given RestApi.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#response_typeString

[Required] The response type of the associated GatewayResponse.

Returns:

  • (String)


3583
3584
3585
3586
3587
3588
# File 'lib/aws-sdk-apigateway/types.rb', line 3583

class GetGatewayResponseRequest < Struct.new(
  :rest_api_id,
  :response_type)
  SENSITIVE = []
  include Aws::Structure
end

#rest_api_idString

[Required] The string identifier of the associated RestApi.

Returns:

  • (String)


3583
3584
3585
3586
3587
3588
# File 'lib/aws-sdk-apigateway/types.rb', line 3583

class GetGatewayResponseRequest < Struct.new(
  :rest_api_id,
  :response_type)
  SENSITIVE = []
  include Aws::Structure
end