Class: Aws::APIGateway::Types::Deployment

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

Overview

An immutable representation of a RestApi resource that can be called by users using Stages. A deployment must be associated with a Stage for it to be callable over the Internet.

To create a deployment, call `POST` on the Deployments resource of a RestApi. To view, update, or delete a deployment, call `GET`, `PATCH`, or `DELETE` on the specified deployment resource (`/restapis/{restapi_id\}/deployments/{deployment_id\}`).
RestApi, Deployments, Stage, [AWS CLI][1], [AWS SDKs][2]

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#api_summaryHash<String,Hash<String,Types::MethodSnapshot>>

A summary of the RestApi at the date and time that the deployment resource was created.

Returns:



2203
2204
2205
2206
2207
2208
2209
2210
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 2203

class Deployment < Struct.new(
  :id,
  :description,
  :created_date,
  :api_summary)
  SENSITIVE = []
  include Aws::Structure
end

#created_dateTime

The date and time that the deployment resource was created.

Returns:

  • (Time)


2203
2204
2205
2206
2207
2208
2209
2210
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 2203

class Deployment < Struct.new(
  :id,
  :description,
  :created_date,
  :api_summary)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The description for the deployment resource.

Returns:

  • (String)


2203
2204
2205
2206
2207
2208
2209
2210
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 2203

class Deployment < Struct.new(
  :id,
  :description,
  :created_date,
  :api_summary)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The identifier for the deployment resource.

Returns:

  • (String)


2203
2204
2205
2206
2207
2208
2209
2210
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 2203

class Deployment < Struct.new(
  :id,
  :description,
  :created_date,
  :api_summary)
  SENSITIVE = []
  include Aws::Structure
end