Struct aws_sdk_ec2::input::ModifyIdentityIdFormatInput
source · #[non_exhaustive]pub struct ModifyIdentityIdFormatInput { /* private fields */ }
Implementations§
source§impl ModifyIdentityIdFormatInput
impl ModifyIdentityIdFormatInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyIdentityIdFormat, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyIdentityIdFormat, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ModifyIdentityIdFormat
>
Examples found in repository?
64209 64210 64211 64212 64213 64214 64215 64216 64217 64218 64219 64220 64221 64222 64223 64224 64225 64226 64227 64228 64229 64230 64231 64232 64233 64234 64235 64236 64237 64238 64239 64240 64241 64242 64243 64244 64245 64246 64247 64248 64249 64250 64251
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ModifyIdentityIdFormat,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::ModifyIdentityIdFormatError>,
> {
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::ModifyIdentityIdFormatOutput,
aws_smithy_http::result::SdkError<crate::error::ModifyIdentityIdFormatError>,
> {
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 ModifyIdentityIdFormatInput
.
source§impl ModifyIdentityIdFormatInput
impl ModifyIdentityIdFormatInput
sourcepub fn principal_arn(&self) -> Option<&str>
pub fn principal_arn(&self) -> Option<&str>
The ARN of the principal, which can be an IAM user, IAM role, or the root user. Specify all
to modify the ID format for all IAM users, IAM roles, and the root user of the account.
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
| internet-gateway
| network-acl
| network-acl-association
| network-interface
| network-interface-attachment
| prefix-list
| route-table
| route-table-association
| security-group
| subnet
| subnet-cidr-block-association
| vpc
| vpc-cidr-block-association
| vpc-endpoint
| vpc-peering-connection
| vpn-connection
| vpn-gateway
.
Alternatively, use the all-current
option to include all resource types that are currently within their opt-in period for longer IDs.
sourcepub fn use_long_ids(&self) -> Option<bool>
pub fn use_long_ids(&self) -> Option<bool>
Indicates whether the resource should use longer IDs (17-character IDs)
Trait Implementations§
source§impl Clone for ModifyIdentityIdFormatInput
impl Clone for ModifyIdentityIdFormatInput
source§fn clone(&self) -> ModifyIdentityIdFormatInput
fn clone(&self) -> ModifyIdentityIdFormatInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more