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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.

<div class=“remarks” markdown=“1”> 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`). </div>

<div class=“seeAlso” markdown=“1”> RestApi, Deployments, Stage, [AWS CLI], [AWS SDKs] </div>

[1]: docs.aws.amazon.com/cli/latest/reference/apigateway/get-deployment.html [2]: aws.amazon.com/tools/

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:



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

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)


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

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

#descriptionString

The description for the deployment resource.

Returns:

  • (String)


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

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

#idString

The identifier for the deployment resource.

Returns:

  • (String)


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

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