[][src]Struct rusoto_apigateway::GetExportRequest

pub struct GetExportRequest {
    pub accepts: Option<String>,
    pub export_type: String,
    pub parameters: Option<HashMap<String, String>>,
    pub rest_api_id: String,
    pub stage_name: String,
}

Request a new export of a RestApi for a particular Stage.

Fields

accepts: Option<String>

The content-type of the export, for example application/json. Currently application/json and application/yaml are supported for exportType ofoas30 and swagger. This should be specified in the Accept header for direct API requests.

export_type: String

[Required] The type of export. Acceptable values are 'oas30' for OpenAPI 3.0.x and 'swagger' for Swagger/OpenAPI 2.0.

parameters: Option<HashMap<String, String>>

A key-value map of query string parameters that specify properties of the export, depending on the requested exportType. For exportType oas30 and swagger, any combination of the following parameters are supported: extensions='integrations' or extensions='apigateway' will export the API with x-amazon-apigateway-integration extensions. 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

rest_api_id: String

[Required] The string identifier of the associated RestApi.

stage_name: String

[Required] The name of the Stage that will be exported.

Trait Implementations

impl Clone for GetExportRequest[src]

impl Debug for GetExportRequest[src]

impl Default for GetExportRequest[src]

impl PartialEq<GetExportRequest> for GetExportRequest[src]

impl Serialize for GetExportRequest[src]

impl StructuralPartialEq for GetExportRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.