You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::APIGateway::Types::GetStagesRequest

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

Overview

Note:

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

{
  rest_api_id: "String", # required
  deployment_id: "String",
}

Requests Amazon API Gateway to get information about one or more Stage resources.

Instance Attribute Summary collapse

Instance Attribute Details

#deployment_idString

The stages' deployment identifiers.

Returns:

  • (String)


3512
3513
3514
3515
3516
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 3512

class GetStagesRequest < Struct.new(
  :rest_api_id,
  :deployment_id)
  include Aws::Structure
end

#rest_api_idString

The string identifier of the associated RestApi.

Returns:

  • (String)


3512
3513
3514
3515
3516
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 3512

class GetStagesRequest < Struct.new(
  :rest_api_id,
  :deployment_id)
  include Aws::Structure
end