Struct aws_sdk_ram::input::UpdateResourceShareInput
source · [−]#[non_exhaustive]pub struct UpdateResourceShareInput {
pub resource_share_arn: Option<String>,
pub name: Option<String>,
pub allow_external_principals: Option<bool>,
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.Specifies the Amazon Resoure Name (ARN) of the resource share that you want to modify.
name: Option<String>If specified, the new name that you want to attach to the resource share.
allow_external_principals: Option<bool>Specifies whether principals outside your organization in Organizations can be associated with a resource share.
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.
Implementations
sourceimpl UpdateResourceShareInput
impl UpdateResourceShareInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateResourceShare, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateResourceShare, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateResourceShare>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateResourceShareInput
sourceimpl UpdateResourceShareInput
impl UpdateResourceShareInput
Specifies the Amazon Resoure Name (ARN) of the resource share that you want to modify.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
If specified, the new name that you want to attach to the resource share.
sourcepub fn allow_external_principals(&self) -> Option<bool>
pub fn allow_external_principals(&self) -> Option<bool>
Specifies whether principals outside your organization in Organizations can be associated with a resource share.
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.
Trait Implementations
sourceimpl Clone for UpdateResourceShareInput
impl Clone for UpdateResourceShareInput
sourcefn clone(&self) -> UpdateResourceShareInput
fn clone(&self) -> UpdateResourceShareInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for UpdateResourceShareInput
impl Debug for UpdateResourceShareInput
sourcefn eq(&self, other: &UpdateResourceShareInput) -> bool
fn eq(&self, other: &UpdateResourceShareInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &UpdateResourceShareInput) -> bool
fn ne(&self, other: &UpdateResourceShareInput) -> bool
This method tests for !=.
impl StructuralPartialEq for UpdateResourceShareInput
Auto Trait Implementations
impl RefUnwindSafe for UpdateResourceShareInput
impl Send for UpdateResourceShareInput
impl Sync for UpdateResourceShareInput
impl Unpin for UpdateResourceShareInput
impl UnwindSafe for UpdateResourceShareInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more