Class: Aws::APIGateway::Types::DeleteMethodResponseRequest

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 DeleteMethodResponseRequest data as a hash:

{
  rest_api_id: "String", # required
  resource_id: "String", # required
  http_method: "String", # required
  status_code: "StatusCode", # required
}

A request to delete an existing MethodResponse resource.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#http_methodString

[Required] The HTTP verb of the Method resource.

Returns:

  • (String)


1970
1971
1972
1973
1974
1975
1976
1977
# File 'lib/aws-sdk-apigateway/types.rb', line 1970

class DeleteMethodResponseRequest < Struct.new(
  :rest_api_id,
  :resource_id,
  :http_method,
  :status_code)
  SENSITIVE = []
  include Aws::Structure
end

#resource_idString

[Required] The Resource identifier for the MethodResponse resource.

Returns:

  • (String)


1970
1971
1972
1973
1974
1975
1976
1977
# File 'lib/aws-sdk-apigateway/types.rb', line 1970

class DeleteMethodResponseRequest < Struct.new(
  :rest_api_id,
  :resource_id,
  :http_method,
  :status_code)
  SENSITIVE = []
  include Aws::Structure
end

#rest_api_idString

[Required] The string identifier of the associated RestApi.

Returns:

  • (String)


1970
1971
1972
1973
1974
1975
1976
1977
# File 'lib/aws-sdk-apigateway/types.rb', line 1970

class DeleteMethodResponseRequest < Struct.new(
  :rest_api_id,
  :resource_id,
  :http_method,
  :status_code)
  SENSITIVE = []
  include Aws::Structure
end

#status_codeString

[Required] The status code identifier for the MethodResponse resource.

Returns:

  • (String)


1970
1971
1972
1973
1974
1975
1976
1977
# File 'lib/aws-sdk-apigateway/types.rb', line 1970

class DeleteMethodResponseRequest < Struct.new(
  :rest_api_id,
  :resource_id,
  :http_method,
  :status_code)
  SENSITIVE = []
  include Aws::Structure
end