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

Class: Aws::ApiGatewayV2::Types::UpdateStageRequest

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 UpdateStageRequest data as a hash:

{
  access_log_settings: {
    destination_arn: "Arn",
    format: "StringWithLengthBetween1And1024",
  },
  api_id: "__string", # required
  client_certificate_id: "Id",
  default_route_settings: {
    data_trace_enabled: false,
    detailed_metrics_enabled: false,
    logging_level: "ERROR", # accepts ERROR, INFO, false
    throttling_burst_limit: 1,
    throttling_rate_limit: 1.0,
  },
  deployment_id: "Id",
  description: "StringWithLengthBetween0And1024",
  route_settings: {
    "__string" => {
      data_trace_enabled: false,
      detailed_metrics_enabled: false,
      logging_level: "ERROR", # accepts ERROR, INFO, false
      throttling_burst_limit: 1,
      throttling_rate_limit: 1.0,
    },
  },
  stage_name: "__string", # required
  stage_variables: {
    "__string" => "StringWithLengthBetween0And2048",
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#access_log_settingsTypes::AccessLogSettings

Settings for logging access in a stage.



6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 6432

class UpdateStageRequest < Struct.new(
  :access_log_settings,
  :api_id,
  :client_certificate_id,
  :default_route_settings,
  :deployment_id,
  :description,
  :route_settings,
  :stage_name,
  :stage_variables)
  include Aws::Structure
end

#api_idString

Returns:

  • (String)


6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 6432

class UpdateStageRequest < Struct.new(
  :access_log_settings,
  :api_id,
  :client_certificate_id,
  :default_route_settings,
  :deployment_id,
  :description,
  :route_settings,
  :stage_name,
  :stage_variables)
  include Aws::Structure
end

#client_certificate_idString

The identifier.

Returns:

  • (String)


6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 6432

class UpdateStageRequest < Struct.new(
  :access_log_settings,
  :api_id,
  :client_certificate_id,
  :default_route_settings,
  :deployment_id,
  :description,
  :route_settings,
  :stage_name,
  :stage_variables)
  include Aws::Structure
end

#default_route_settingsTypes::RouteSettings

Represents a collection of route settings.



6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 6432

class UpdateStageRequest < Struct.new(
  :access_log_settings,
  :api_id,
  :client_certificate_id,
  :default_route_settings,
  :deployment_id,
  :description,
  :route_settings,
  :stage_name,
  :stage_variables)
  include Aws::Structure
end

#deployment_idString

The identifier.

Returns:

  • (String)


6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 6432

class UpdateStageRequest < Struct.new(
  :access_log_settings,
  :api_id,
  :client_certificate_id,
  :default_route_settings,
  :deployment_id,
  :description,
  :route_settings,
  :stage_name,
  :stage_variables)
  include Aws::Structure
end

#descriptionString

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

Returns:

  • (String)


6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 6432

class UpdateStageRequest < Struct.new(
  :access_log_settings,
  :api_id,
  :client_certificate_id,
  :default_route_settings,
  :deployment_id,
  :description,
  :route_settings,
  :stage_name,
  :stage_variables)
  include Aws::Structure
end

#route_settingsHash<String,Types::RouteSettings>

The route settings map.

Returns:



6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 6432

class UpdateStageRequest < Struct.new(
  :access_log_settings,
  :api_id,
  :client_certificate_id,
  :default_route_settings,
  :deployment_id,
  :description,
  :route_settings,
  :stage_name,
  :stage_variables)
  include Aws::Structure
end

#stage_nameString

Returns:

  • (String)


6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 6432

class UpdateStageRequest < Struct.new(
  :access_log_settings,
  :api_id,
  :client_certificate_id,
  :default_route_settings,
  :deployment_id,
  :description,
  :route_settings,
  :stage_name,
  :stage_variables)
  include Aws::Structure
end

#stage_variablesHash<String,String>

The stage variable map.

Returns:

  • (Hash<String,String>)


6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 6432

class UpdateStageRequest < Struct.new(
  :access_log_settings,
  :api_id,
  :client_certificate_id,
  :default_route_settings,
  :deployment_id,
  :description,
  :route_settings,
  :stage_name,
  :stage_variables)
  include Aws::Structure
end