#[non_exhaustive]pub struct AddLayerVersionPermissionInput { /* private fields */ }
Implementations§
source§impl AddLayerVersionPermissionInput
impl AddLayerVersionPermissionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AddLayerVersionPermission, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AddLayerVersionPermission, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<AddLayerVersionPermission
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AddLayerVersionPermissionInput
.
source§impl AddLayerVersionPermissionInput
impl AddLayerVersionPermissionInput
sourcepub fn layer_name(&self) -> Option<&str>
pub fn layer_name(&self) -> Option<&str>
The name or Amazon Resource Name (ARN) of the layer.
sourcepub fn version_number(&self) -> i64
pub fn version_number(&self) -> i64
The version number.
sourcepub fn statement_id(&self) -> Option<&str>
pub fn statement_id(&self) -> Option<&str>
An identifier that distinguishes the policy from others on the same layer version.
sourcepub fn action(&self) -> Option<&str>
pub fn action(&self) -> Option<&str>
The API action that grants access to the layer. For example, lambda:GetLayerVersion
.
sourcepub fn principal(&self) -> Option<&str>
pub fn principal(&self) -> Option<&str>
An account ID, or *
to grant layer usage permission to all accounts in an organization, or all Amazon Web Services accounts (if organizationId
is not specified). For the last case, make sure that you really do want all Amazon Web Services accounts to have usage permission to this layer.
sourcepub fn organization_id(&self) -> Option<&str>
pub fn organization_id(&self) -> Option<&str>
With the principal set to *
, grant permission to all accounts in the specified organization.
sourcepub fn revision_id(&self) -> Option<&str>
pub fn revision_id(&self) -> Option<&str>
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.
Trait Implementations§
source§impl Clone for AddLayerVersionPermissionInput
impl Clone for AddLayerVersionPermissionInput
source§fn clone(&self) -> AddLayerVersionPermissionInput
fn clone(&self) -> AddLayerVersionPermissionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<AddLayerVersionPermissionInput> for AddLayerVersionPermissionInput
impl PartialEq<AddLayerVersionPermissionInput> for AddLayerVersionPermissionInput
source§fn eq(&self, other: &AddLayerVersionPermissionInput) -> bool
fn eq(&self, other: &AddLayerVersionPermissionInput) -> bool
self
and other
values to be equal, and is used
by ==
.