Struct aws_sdk_ram::operation::set_default_permission_version::SetDefaultPermissionVersionInput
source · #[non_exhaustive]pub struct SetDefaultPermissionVersionInput {
pub permission_arn: Option<String>,
pub permission_version: Option<i32>,
pub client_token: Option<String>,
}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.permission_arn: Option<String>Specifies the Amazon Resource Name (ARN) of the customer managed permission whose default version you want to change.
permission_version: Option<i32>Specifies the version number that you want to designate as the default for customer managed permission. To see a list of all available version numbers, use ListPermissionVersions.
client_token: Option<String>Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.
Implementations§
source§impl SetDefaultPermissionVersionInput
impl SetDefaultPermissionVersionInput
sourcepub fn permission_arn(&self) -> Option<&str>
pub fn permission_arn(&self) -> Option<&str>
Specifies the Amazon Resource Name (ARN) of the customer managed permission whose default version you want to change.
sourcepub fn permission_version(&self) -> Option<i32>
pub fn permission_version(&self) -> Option<i32>
Specifies the version number that you want to designate as the default for customer managed permission. To see a list of all available version numbers, use ListPermissionVersions.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.
source§impl SetDefaultPermissionVersionInput
impl SetDefaultPermissionVersionInput
sourcepub fn builder() -> SetDefaultPermissionVersionInputBuilder
pub fn builder() -> SetDefaultPermissionVersionInputBuilder
Creates a new builder-style object to manufacture SetDefaultPermissionVersionInput.
Trait Implementations§
source§impl Clone for SetDefaultPermissionVersionInput
impl Clone for SetDefaultPermissionVersionInput
source§fn clone(&self) -> SetDefaultPermissionVersionInput
fn clone(&self) -> SetDefaultPermissionVersionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for SetDefaultPermissionVersionInput
impl PartialEq for SetDefaultPermissionVersionInput
source§fn eq(&self, other: &SetDefaultPermissionVersionInput) -> bool
fn eq(&self, other: &SetDefaultPermissionVersionInput) -> bool
self and other values to be equal, and is used
by ==.