Struct aws_sdk_ec2::input::ModifyIdFormatInput
source · #[non_exhaustive]pub struct ModifyIdFormatInput { /* private fields */ }
Implementations§
source§impl ModifyIdFormatInput
impl ModifyIdFormatInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyIdFormat, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyIdFormat, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ModifyIdFormat
>
Examples found in repository?
64310 64311 64312 64313 64314 64315 64316 64317 64318 64319 64320 64321 64322 64323 64324 64325 64326 64327 64328 64329 64330 64331 64332 64333 64334 64335 64336 64337 64338 64339 64340 64341 64342 64343 64344 64345 64346 64347 64348 64349 64350 64351 64352
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ModifyIdFormat,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::ModifyIdFormatError>,
> {
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::ModifyIdFormatOutput,
aws_smithy_http::result::SdkError<crate::error::ModifyIdFormatError>,
> {
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 ModifyIdFormatInput
.
source§impl ModifyIdFormatInput
impl ModifyIdFormatInput
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>
Indicate whether the resource should use longer IDs (17-character IDs).
Trait Implementations§
source§impl Clone for ModifyIdFormatInput
impl Clone for ModifyIdFormatInput
source§fn clone(&self) -> ModifyIdFormatInput
fn clone(&self) -> ModifyIdFormatInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more