Struct aws_sdk_ec2::input::DescribeVpcAttributeInput
source · #[non_exhaustive]pub struct DescribeVpcAttributeInput { /* private fields */ }
Implementations§
source§impl DescribeVpcAttributeInput
impl DescribeVpcAttributeInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeVpcAttribute, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeVpcAttribute, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeVpcAttribute
>
Examples found in repository?
src/client.rs (line 51112)
51098 51099 51100 51101 51102 51103 51104 51105 51106 51107 51108 51109 51110 51111 51112 51113 51114 51115 51116 51117 51118 51119 51120 51121 51122 51123 51124 51125 51126 51127 51128 51129 51130 51131 51132 51133 51134 51135 51136 51137 51138 51139 51140
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DescribeVpcAttribute,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DescribeVpcAttributeError>,
> {
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::DescribeVpcAttributeOutput,
aws_smithy_http::result::SdkError<crate::error::DescribeVpcAttributeError>,
> {
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 DescribeVpcAttributeInput
.
source§impl DescribeVpcAttributeInput
impl DescribeVpcAttributeInput
sourcepub fn attribute(&self) -> Option<&VpcAttributeName>
pub fn attribute(&self) -> Option<&VpcAttributeName>
The VPC attribute.
Trait Implementations§
source§impl Clone for DescribeVpcAttributeInput
impl Clone for DescribeVpcAttributeInput
source§fn clone(&self) -> DescribeVpcAttributeInput
fn clone(&self) -> DescribeVpcAttributeInput
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