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

Class: Aws::APIGateway::Types::Deployments

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

Overview

Represents a collection resource that contains zero or more references to your existing deployments, and links that guide you on how to interact with your collection. The collection offers a paginated view of the contained deployments.

To create a new deployment of a RestApi, make a `POST` request against this resource. To view, update, or delete an existing deployment, make a `GET`, `PATCH`, or `DELETE` request, respectively, on a specified Deployment resource.
[Deploying an API][1], [AWS CLI][2], [AWS SDKs][3]

Instance Attribute Summary collapse

Instance Attribute Details

#itemsArray<Types::Deployment>

The current page of elements from this collection.

Returns:



2026
2027
2028
2029
2030
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 2026

class Deployments < Struct.new(
  :position,
  :items)
  include Aws::Structure
end

#positionString

Returns:

  • (String)


2026
2027
2028
2029
2030
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 2026

class Deployments < Struct.new(
  :position,
  :items)
  include Aws::Structure
end