Struct aws_sdk_ec2::input::ModifyIdentityIdFormatInput [−][src]
#[non_exhaustive]pub struct ModifyIdentityIdFormatInput {
pub principal_arn: Option<String>,
pub resource: Option<String>,
pub use_long_ids: Option<bool>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.principal_arn: Option<String>
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.
resource: Option<String>
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.
use_long_ids: Option<bool>
Indicates whether the resource should use longer IDs (17-character IDs)
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyIdentityIdFormat, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyIdentityIdFormat, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ModifyIdentityIdFormat
>
Creates a new builder-style object to manufacture ModifyIdentityIdFormatInput
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.
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.
Indicates whether the resource should use longer IDs (17-character IDs)
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ModifyIdentityIdFormatInput
impl Send for ModifyIdentityIdFormatInput
impl Sync for ModifyIdentityIdFormatInput
impl Unpin for ModifyIdentityIdFormatInput
impl UnwindSafe for ModifyIdentityIdFormatInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more