Struct aws_sdk_ram::operation::replace_permission_associations::ReplacePermissionAssociationsInput
source · #[non_exhaustive]pub struct ReplacePermissionAssociationsInput {
pub from_permission_arn: Option<String>,
pub from_permission_version: Option<i32>,
pub to_permission_arn: Option<String>,
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.from_permission_arn: Option<String>
Specifies the Amazon Resource Name (ARN) of the managed permission that you want to replace.
from_permission_version: Option<i32>
Specifies that you want to updated the permissions for only those resource shares that use the specified version of the managed permission.
to_permission_arn: Option<String>
Specifies the ARN of the managed permission that you want to associate with resource shares in place of the one specified by fromPerssionArn
and fromPermissionVersion
.
The operation always associates the version that is currently the default for the specified managed permission.
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 ReplacePermissionAssociationsInput
impl ReplacePermissionAssociationsInput
sourcepub fn from_permission_arn(&self) -> Option<&str>
pub fn from_permission_arn(&self) -> Option<&str>
Specifies the Amazon Resource Name (ARN) of the managed permission that you want to replace.
sourcepub fn from_permission_version(&self) -> Option<i32>
pub fn from_permission_version(&self) -> Option<i32>
Specifies that you want to updated the permissions for only those resource shares that use the specified version of the managed permission.
sourcepub fn to_permission_arn(&self) -> Option<&str>
pub fn to_permission_arn(&self) -> Option<&str>
Specifies the ARN of the managed permission that you want to associate with resource shares in place of the one specified by fromPerssionArn
and fromPermissionVersion
.
The operation always associates the version that is currently the default for the specified managed permission.
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 ReplacePermissionAssociationsInput
impl ReplacePermissionAssociationsInput
sourcepub fn builder() -> ReplacePermissionAssociationsInputBuilder
pub fn builder() -> ReplacePermissionAssociationsInputBuilder
Creates a new builder-style object to manufacture ReplacePermissionAssociationsInput
.
Trait Implementations§
source§impl Clone for ReplacePermissionAssociationsInput
impl Clone for ReplacePermissionAssociationsInput
source§fn clone(&self) -> ReplacePermissionAssociationsInput
fn clone(&self) -> ReplacePermissionAssociationsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ReplacePermissionAssociationsInput
impl PartialEq for ReplacePermissionAssociationsInput
source§fn eq(&self, other: &ReplacePermissionAssociationsInput) -> bool
fn eq(&self, other: &ReplacePermissionAssociationsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReplacePermissionAssociationsInput
Auto Trait Implementations§
impl Freeze for ReplacePermissionAssociationsInput
impl RefUnwindSafe for ReplacePermissionAssociationsInput
impl Send for ReplacePermissionAssociationsInput
impl Sync for ReplacePermissionAssociationsInput
impl Unpin for ReplacePermissionAssociationsInput
impl UnwindSafe for ReplacePermissionAssociationsInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more