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

Class: Aws::ApiGatewayV2::Types::CreateDeploymentRequest

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

Overview

Note:

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

{
  api_id: "__string", # required
  description: "StringWithLengthBetween0And1024",
  stage_name: "StringWithLengthBetween1And128",
}

Instance Attribute Summary collapse

Instance Attribute Details

#api_idString

Returns:

  • (String)


827
828
829
830
831
832
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 827

class CreateDeploymentRequest < Struct.new(
  :api_id,
  :description,
  :stage_name)
  include Aws::Structure
end

#descriptionString

A string with a length between [0-1024].

Returns:

  • (String)


827
828
829
830
831
832
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 827

class CreateDeploymentRequest < Struct.new(
  :api_id,
  :description,
  :stage_name)
  include Aws::Structure
end

#stage_nameString

A string with a length between [1-128].

Returns:

  • (String)


827
828
829
830
831
832
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 827

class CreateDeploymentRequest < Struct.new(
  :api_id,
  :description,
  :stage_name)
  include Aws::Structure
end