Struct rusoto_ram::CreateResourceShareRequest
source · [−]pub struct CreateResourceShareRequest {
pub allow_external_principals: Option<bool>,
pub client_token: Option<String>,
pub name: String,
pub permission_arns: Option<Vec<String>>,
pub principals: Option<Vec<String>>,
pub resource_arns: Option<Vec<String>>,
pub tags: Option<Vec<Tag>>,
}
Fields
allow_external_principals: Option<bool>
Indicates whether principals outside your AWS organization can be associated with a resource share.
client_token: Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
name: String
The name of the resource share.
permission_arns: Option<Vec<String>>
The ARNs of the permissions to associate with the resource share. If you do not specify an ARN for the permission, AWS RAM automatically attaches the default version of the permission for each resource type.
principals: Option<Vec<String>>
The principals to associate with the resource share. The possible values are IDs of AWS accounts, the ARN of an OU or organization from AWS Organizations.
resource_arns: Option<Vec<String>>
The Amazon Resource Names (ARN) of the resources to associate with the resource share.
One or more tags.
Trait Implementations
sourceimpl Clone for CreateResourceShareRequest
impl Clone for CreateResourceShareRequest
sourcefn clone(&self) -> CreateResourceShareRequest
fn clone(&self) -> CreateResourceShareRequest
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 CreateResourceShareRequest
impl Debug for CreateResourceShareRequest
sourceimpl Default for CreateResourceShareRequest
impl Default for CreateResourceShareRequest
sourcefn default() -> CreateResourceShareRequest
fn default() -> CreateResourceShareRequest
Returns the “default value” for a type. Read more
sourcefn eq(&self, other: &CreateResourceShareRequest) -> bool
fn eq(&self, other: &CreateResourceShareRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateResourceShareRequest) -> bool
fn ne(&self, other: &CreateResourceShareRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateResourceShareRequest
Auto Trait Implementations
impl RefUnwindSafe for CreateResourceShareRequest
impl Send for CreateResourceShareRequest
impl Sync for CreateResourceShareRequest
impl Unpin for CreateResourceShareRequest
impl UnwindSafe for CreateResourceShareRequest
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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