Struct aws_sdk_apigatewayv2::client::fluent_builders::ExportApi [−][src]
pub struct ExportApi<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ExportApi
.
Implementations
impl<C, M, R> ExportApi<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ExportApi<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<ExportApiOutput, SdkError<ExportApiError>> where
R::Policy: SmithyRetryPolicy<ExportApiInputOperationOutputAlias, ExportApiOutput, ExportApiError, ExportApiInputOperationRetryAlias>,
pub async fn send(self) -> Result<ExportApiOutput, SdkError<ExportApiError>> where
R::Policy: SmithyRetryPolicy<ExportApiInputOperationOutputAlias, ExportApiOutput, ExportApiError, ExportApiInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The API identifier.
The version of the API Gateway export algorithm. API Gateway uses the latest version by default. Currently, the only supported version is 1.0.
The version of the API Gateway export algorithm. API Gateway uses the latest version by default. Currently, the only supported version is 1.0.
Specifies whether to include API Gateway extensions in the exported API definition. API Gateway extensions are included by default.
Specifies whether to include API Gateway extensions in the exported API definition. API Gateway extensions are included by default.
The output type of the exported definition file. Valid values are JSON and YAML.
The output type of the exported definition file. Valid values are JSON and YAML.
The version of the API specification to use. OAS30, for OpenAPI 3.0, is the only supported value.
The version of the API specification to use. OAS30, for OpenAPI 3.0, is the only supported value.
The name of the API stage to export. If you don't specify this property, a representation of the latest API configuration is exported.
The name of the API stage to export. If you don't specify this property, a representation of the latest API configuration is exported.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for ExportApi<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for ExportApi<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more