Class: Aws::APIGateway::Types::GetExportRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::APIGateway::Types::GetExportRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-apigateway/types.rb
Overview
When making an API call, you may pass GetExportRequest data as a hash:
{
rest_api_id: "String", # required
stage_name: "String", # required
export_type: "String", # required
parameters: {
"String" => "String",
},
accepts: "String",
}
Request a new export of a RestApi for a particular Stage.
Instance Attribute Summary collapse
-
#accepts ⇒ String
The content-type of the export, for example ‘application/json`.
-
#export_type ⇒ String
The type of export.
-
#parameters ⇒ Hash<String,String>
A key-value map of query string parameters that specify properties of the export, depending on the requested ‘exportType`.
-
#rest_api_id ⇒ String
The string identifier of the associated RestApi.
-
#stage_name ⇒ String
The name of the Stage that will be exported.
Instance Attribute Details
permalink #accepts ⇒ String
The content-type of the export, for example ‘application/json`. Currently `application/json` and `application/yaml` are supported for `exportType` of `swagger`. This should be specified in the `Accept` header for direct API requests.
3248 3249 3250 3251 3252 3253 3254 3255 |
# File 'lib/aws-sdk-apigateway/types.rb', line 3248 class GetExportRequest < Struct.new( :rest_api_id, :stage_name, :export_type, :parameters, :accepts) include Aws::Structure end |
permalink #export_type ⇒ String
The type of export. Currently only ‘swagger’ is supported.
3248 3249 3250 3251 3252 3253 3254 3255 |
# File 'lib/aws-sdk-apigateway/types.rb', line 3248 class GetExportRequest < Struct.new( :rest_api_id, :stage_name, :export_type, :parameters, :accepts) include Aws::Structure end |
permalink #parameters ⇒ Hash<String,String>
A key-value map of query string parameters that specify properties of the export, depending on the requested ‘exportType`. For `exportType` `swagger`, any combination of the following parameters are supported: `integrations` will export the API with x-amazon-apigateway-integration extensions. `authorizers` will export the API with x-amazon-apigateway-authorizer extensions. `postman` will export the API with Postman extensions, allowing for import to the Postman tool
3248 3249 3250 3251 3252 3253 3254 3255 |
# File 'lib/aws-sdk-apigateway/types.rb', line 3248 class GetExportRequest < Struct.new( :rest_api_id, :stage_name, :export_type, :parameters, :accepts) include Aws::Structure end |
permalink #rest_api_id ⇒ String
The string identifier of the associated RestApi.
3248 3249 3250 3251 3252 3253 3254 3255 |
# File 'lib/aws-sdk-apigateway/types.rb', line 3248 class GetExportRequest < Struct.new( :rest_api_id, :stage_name, :export_type, :parameters, :accepts) include Aws::Structure end |
permalink #stage_name ⇒ String
The name of the Stage that will be exported.
3248 3249 3250 3251 3252 3253 3254 3255 |
# File 'lib/aws-sdk-apigateway/types.rb', line 3248 class GetExportRequest < Struct.new( :rest_api_id, :stage_name, :export_type, :parameters, :accepts) include Aws::Structure end |