#[non_exhaustive]pub struct CreateEgressOnlyInternetGatewayInput { /* private fields */ }
Implementations§
source§impl CreateEgressOnlyInternetGatewayInput
impl CreateEgressOnlyInternetGatewayInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateEgressOnlyInternetGateway, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateEgressOnlyInternetGateway, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateEgressOnlyInternetGateway
>
Examples found in repository?
src/client.rs (line 15828)
15814 15815 15816 15817 15818 15819 15820 15821 15822 15823 15824 15825 15826 15827 15828 15829 15830 15831 15832 15833 15834 15835 15836 15837 15838 15839 15840 15841 15842 15843 15844 15845 15846 15847 15848 15849 15850 15851 15852 15853 15854 15855 15856
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::CreateEgressOnlyInternetGateway,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::CreateEgressOnlyInternetGatewayError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::CreateEgressOnlyInternetGatewayOutput,
aws_smithy_http::result::SdkError<crate::error::CreateEgressOnlyInternetGatewayError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateEgressOnlyInternetGatewayInput
.
source§impl CreateEgressOnlyInternetGatewayInput
impl CreateEgressOnlyInternetGatewayInput
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn vpc_id(&self) -> Option<&str>
pub fn vpc_id(&self) -> Option<&str>
The ID of the VPC for which to create the egress-only internet gateway.
sourcepub fn tag_specifications(&self) -> Option<&[TagSpecification]>
pub fn tag_specifications(&self) -> Option<&[TagSpecification]>
The tags to assign to the egress-only internet gateway.
Trait Implementations§
source§impl Clone for CreateEgressOnlyInternetGatewayInput
impl Clone for CreateEgressOnlyInternetGatewayInput
source§fn clone(&self) -> CreateEgressOnlyInternetGatewayInput
fn clone(&self) -> CreateEgressOnlyInternetGatewayInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more