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§
Source§impl Clone for AddLayerVersionPermissionRequest
impl Clone for AddLayerVersionPermissionRequest
Source§fn clone(&self) -> AddLayerVersionPermissionRequest
fn clone(&self) -> AddLayerVersionPermissionRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for AddLayerVersionPermissionRequest
impl Default for AddLayerVersionPermissionRequest
Source§fn default() -> AddLayerVersionPermissionRequest
fn default() -> AddLayerVersionPermissionRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for AddLayerVersionPermissionRequest
impl PartialEq for AddLayerVersionPermissionRequest
Source§fn eq(&self, other: &AddLayerVersionPermissionRequest) -> bool
fn eq(&self, other: &AddLayerVersionPermissionRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AddLayerVersionPermissionRequest
Auto Trait Implementations§
impl Freeze for AddLayerVersionPermissionRequest
impl RefUnwindSafe for AddLayerVersionPermissionRequest
impl Send for AddLayerVersionPermissionRequest
impl Sync for AddLayerVersionPermissionRequest
impl Unpin for AddLayerVersionPermissionRequest
impl UnwindSafe for AddLayerVersionPermissionRequest
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
Mutably borrows from an owned value. Read more