Struct rusoto_apigateway::GetExportRequest
source · [−]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,
}
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
sourceimpl Clone for GetExportRequest
impl Clone for GetExportRequest
sourcefn clone(&self) -> GetExportRequest
fn clone(&self) -> GetExportRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GetExportRequest
impl Debug for GetExportRequest
sourceimpl Default for GetExportRequest
impl Default for GetExportRequest
sourcefn default() -> GetExportRequest
fn default() -> GetExportRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<GetExportRequest> for GetExportRequest
impl PartialEq<GetExportRequest> for GetExportRequest
sourcefn eq(&self, other: &GetExportRequest) -> bool
fn eq(&self, other: &GetExportRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetExportRequest) -> bool
fn ne(&self, other: &GetExportRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for GetExportRequest
impl Serialize for GetExportRequest
impl StructuralPartialEq for GetExportRequest
Auto Trait Implementations
impl RefUnwindSafe for GetExportRequest
impl Send for GetExportRequest
impl Sync for GetExportRequest
impl Unpin for GetExportRequest
impl UnwindSafe for GetExportRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more