Struct aws_sdk_ec2::input::DescribeIdentityIdFormatInput
source · #[non_exhaustive]pub struct DescribeIdentityIdFormatInput { /* private fields */ }
Implementations§
source§impl DescribeIdentityIdFormatInput
impl DescribeIdentityIdFormatInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeIdentityIdFormat, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeIdentityIdFormat, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeIdentityIdFormat
>
Examples found in repository?
37712 37713 37714 37715 37716 37717 37718 37719 37720 37721 37722 37723 37724 37725 37726 37727 37728 37729 37730 37731 37732 37733 37734 37735 37736 37737 37738 37739 37740 37741 37742 37743 37744 37745 37746 37747 37748 37749 37750 37751 37752 37753 37754
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DescribeIdentityIdFormat,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DescribeIdentityIdFormatError>,
> {
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::DescribeIdentityIdFormatOutput,
aws_smithy_http::result::SdkError<crate::error::DescribeIdentityIdFormatError>,
> {
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 DescribeIdentityIdFormatInput
.
source§impl DescribeIdentityIdFormatInput
impl DescribeIdentityIdFormatInput
sourcepub fn principal_arn(&self) -> Option<&str>
pub fn principal_arn(&self) -> Option<&str>
The ARN of the principal, which can be an IAM role, IAM user, or the root user.
sourcepub fn resource(&self) -> Option<&str>
pub fn resource(&self) -> Option<&str>
The type of resource: bundle
| conversion-task
| customer-gateway
| dhcp-options
| elastic-ip-allocation
| elastic-ip-association
| export-task
| flow-log
| image
| import-task
| instance
| internet-gateway
| network-acl
| network-acl-association
| network-interface
| network-interface-attachment
| prefix-list
| reservation
| route-table
| route-table-association
| security-group
| snapshot
| subnet
| subnet-cidr-block-association
| volume
| vpc
| vpc-cidr-block-association
| vpc-endpoint
| vpc-peering-connection
| vpn-connection
| vpn-gateway
Trait Implementations§
source§impl Clone for DescribeIdentityIdFormatInput
impl Clone for DescribeIdentityIdFormatInput
source§fn clone(&self) -> DescribeIdentityIdFormatInput
fn clone(&self) -> DescribeIdentityIdFormatInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more