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
  auto_deploy: false,
  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.



7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 7391

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

#api_idString

Returns:

  • (String)


7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 7391

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

#auto_deployBoolean

Returns:

  • (Boolean)


7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 7391

class UpdateStageRequest < Struct.new(
  :access_log_settings,
  :api_id,
  :auto_deploy,
  :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)


7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 7391

class UpdateStageRequest < Struct.new(
  :access_log_settings,
  :api_id,
  :auto_deploy,
  :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.



7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 7391

class UpdateStageRequest < Struct.new(
  :access_log_settings,
  :api_id,
  :auto_deploy,
  :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)


7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 7391

class UpdateStageRequest < Struct.new(
  :access_log_settings,
  :api_id,
  :auto_deploy,
  :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)


7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 7391

class UpdateStageRequest < Struct.new(
  :access_log_settings,
  :api_id,
  :auto_deploy,
  :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:



7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 7391

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

#stage_nameString

Returns:

  • (String)


7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 7391

class UpdateStageRequest < Struct.new(
  :access_log_settings,
  :api_id,
  :auto_deploy,
  :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>)


7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 7391

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