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: StringThe API action that grants access to the layer. For example, lambda:GetLayerVersion.
layer_name: StringThe 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: StringAn 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: StringAn identifier that distinguishes the policy from others on the same layer version.
version_number: i64The version number.
Trait Implementations§
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 UnsafeUnpin 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