Struct aws_sdk_lambda::input::PublishLayerVersionInput
source · #[non_exhaustive]pub struct PublishLayerVersionInput { /* private fields */ }
Implementations§
source§impl PublishLayerVersionInput
impl PublishLayerVersionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PublishLayerVersion, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PublishLayerVersion, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<PublishLayerVersion
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PublishLayerVersionInput
.
source§impl PublishLayerVersionInput
impl PublishLayerVersionInput
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 description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the version.
sourcepub fn content(&self) -> Option<&LayerVersionContentInput>
pub fn content(&self) -> Option<&LayerVersionContentInput>
The function layer archive.
sourcepub fn compatible_runtimes(&self) -> Option<&[Runtime]>
pub fn compatible_runtimes(&self) -> Option<&[Runtime]>
A list of compatible function runtimes. Used for filtering with ListLayers
and ListLayerVersions
.
sourcepub fn license_info(&self) -> Option<&str>
pub fn license_info(&self) -> Option<&str>
The layer's software license. It can be any of the following:
-
An SPDX license identifier. For example,
MIT
. -
The URL of a license hosted on the internet. For example,
https://opensource.org/licenses/MIT
. -
The full text of the license.
sourcepub fn compatible_architectures(&self) -> Option<&[Architecture]>
pub fn compatible_architectures(&self) -> Option<&[Architecture]>
A list of compatible instruction set architectures.
Trait Implementations§
source§impl Clone for PublishLayerVersionInput
impl Clone for PublishLayerVersionInput
source§fn clone(&self) -> PublishLayerVersionInput
fn clone(&self) -> PublishLayerVersionInput
Returns a copy 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 Debug for PublishLayerVersionInput
impl Debug for PublishLayerVersionInput
source§impl PartialEq<PublishLayerVersionInput> for PublishLayerVersionInput
impl PartialEq<PublishLayerVersionInput> for PublishLayerVersionInput
source§fn eq(&self, other: &PublishLayerVersionInput) -> bool
fn eq(&self, other: &PublishLayerVersionInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.