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

Class: Aws::APIGateway::Types::FlushStageCacheRequest

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

Overview

Note:

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

{
  rest_api_id: "String", # required
  stage_name: "String", # required
}

Requests Amazon API Gateway to flush a stage's cache.

Instance Attribute Summary collapse

Instance Attribute Details

#rest_api_idString

The string identifier of the associated RestApi.

Returns:

  • (String)


2130
2131
2132
2133
2134
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 2130

class FlushStageCacheRequest < Struct.new(
  :rest_api_id,
  :stage_name)
  include Aws::Structure
end

#stage_nameString

The name of the stage to flush its cache.

Returns:

  • (String)


2130
2131
2132
2133
2134
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 2130

class FlushStageCacheRequest < Struct.new(
  :rest_api_id,
  :stage_name)
  include Aws::Structure
end