[][src]Struct rusoto_lambda::AddLayerVersionPermissionRequest

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

impl PartialEq<AddLayerVersionPermissionRequest> for AddLayerVersionPermissionRequest[src]

impl Default for AddLayerVersionPermissionRequest[src]

impl Clone for AddLayerVersionPermissionRequest[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for AddLayerVersionPermissionRequest[src]

impl Serialize for AddLayerVersionPermissionRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self