#[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§
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)
source§impl ModifyIdentityIdFormatInput
impl ModifyIdentityIdFormatInput
sourcepub fn builder() -> ModifyIdentityIdFormatInputBuilder
pub fn builder() -> ModifyIdentityIdFormatInputBuilder
Creates a new builder-style object to manufacture ModifyIdentityIdFormatInput
.
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 moresource§impl Debug for ModifyIdentityIdFormatInput
impl Debug for ModifyIdentityIdFormatInput
source§impl PartialEq<ModifyIdentityIdFormatInput> for ModifyIdentityIdFormatInput
impl PartialEq<ModifyIdentityIdFormatInput> for ModifyIdentityIdFormatInput
source§fn eq(&self, other: &ModifyIdentityIdFormatInput) -> bool
fn eq(&self, other: &ModifyIdentityIdFormatInput) -> bool
self
and other
values to be equal, and is used
by ==
.