Struct aws_sdk_ec2::input::DescribeAccountAttributesInput
source · #[non_exhaustive]pub struct DescribeAccountAttributesInput { /* private fields */ }
Implementations§
source§impl DescribeAccountAttributesInput
impl DescribeAccountAttributesInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeAccountAttributes, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeAccountAttributes, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeAccountAttributes
>
Examples found in repository?
src/client.rs (line 32687)
32673 32674 32675 32676 32677 32678 32679 32680 32681 32682 32683 32684 32685 32686 32687 32688 32689 32690 32691 32692 32693 32694 32695 32696 32697 32698 32699 32700 32701 32702 32703 32704 32705 32706 32707 32708 32709 32710 32711 32712 32713 32714 32715
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DescribeAccountAttributes,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DescribeAccountAttributesError>,
> {
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::DescribeAccountAttributesOutput,
aws_smithy_http::result::SdkError<crate::error::DescribeAccountAttributesError>,
> {
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 DescribeAccountAttributesInput
.
source§impl DescribeAccountAttributesInput
impl DescribeAccountAttributesInput
sourcepub fn attribute_names(&self) -> Option<&[AccountAttributeName]>
pub fn attribute_names(&self) -> Option<&[AccountAttributeName]>
The account attribute names.
Trait Implementations§
source§impl Clone for DescribeAccountAttributesInput
impl Clone for DescribeAccountAttributesInput
source§fn clone(&self) -> DescribeAccountAttributesInput
fn clone(&self) -> DescribeAccountAttributesInput
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