pub struct AddLayerVersionPermissionRequest {
pub action: String,
pub layer_name: String,
pub organization_id: Option<String>,
pub principal: String,
pub revision_id: Option<String>,
pub statement_id: String,
pub version_number: i64,
}
Fields
action: String
The API action that grants access to the layer. For example, lambda:GetLayerVersion
.
layer_name: String
The name or Amazon Resource Name (ARN) of the layer.
organization_id: Option<String>
With the principal set to *
, grant permission to all accounts in the specified organization.
principal: String
An account ID, or *
to grant permission to all AWS accounts.
revision_id: Option<String>
Only update the policy if the revision ID matches the ID specified. Use this option to avoid modifying a policy that has changed since you last read it.
statement_id: String
An identifier that distinguishes the policy from others on the same layer version.
version_number: i64
The version number.
Trait Implementations
sourceimpl Clone for AddLayerVersionPermissionRequest
impl Clone for AddLayerVersionPermissionRequest
sourcefn clone(&self) -> AddLayerVersionPermissionRequest
fn clone(&self) -> AddLayerVersionPermissionRequest
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 Default for AddLayerVersionPermissionRequest
impl Default for AddLayerVersionPermissionRequest
sourcefn default() -> AddLayerVersionPermissionRequest
fn default() -> AddLayerVersionPermissionRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<AddLayerVersionPermissionRequest> for AddLayerVersionPermissionRequest
impl PartialEq<AddLayerVersionPermissionRequest> for AddLayerVersionPermissionRequest
sourcefn eq(&self, other: &AddLayerVersionPermissionRequest) -> bool
fn eq(&self, other: &AddLayerVersionPermissionRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AddLayerVersionPermissionRequest) -> bool
fn ne(&self, other: &AddLayerVersionPermissionRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for AddLayerVersionPermissionRequest
Auto Trait Implementations
impl RefUnwindSafe for AddLayerVersionPermissionRequest
impl Send for AddLayerVersionPermissionRequest
impl Sync for AddLayerVersionPermissionRequest
impl Unpin for AddLayerVersionPermissionRequest
impl UnwindSafe for AddLayerVersionPermissionRequest
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