Struct aws_sdk_lambda::input::PublishLayerVersionInput [−][src]
#[non_exhaustive]pub struct PublishLayerVersionInput {
pub layer_name: Option<String>,
pub description: Option<String>,
pub content: Option<LayerVersionContentInput>,
pub compatible_runtimes: Option<Vec<Runtime>>,
pub license_info: Option<String>,
pub compatible_architectures: Option<Vec<Architecture>>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.layer_name: Option<String>
The name or Amazon Resource Name (ARN) of the layer.
description: Option<String>
The description of the version.
content: Option<LayerVersionContentInput>
The function layer archive.
compatible_runtimes: Option<Vec<Runtime>>
A list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions.
license_info: Option<String>
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.
compatible_architectures: Option<Vec<Architecture>>
A list of compatible instruction set architectures.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PublishLayerVersion, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PublishLayerVersion, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<PublishLayerVersion
>
Creates a new builder-style object to manufacture PublishLayerVersionInput
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PublishLayerVersionInput
impl Send for PublishLayerVersionInput
impl Sync for PublishLayerVersionInput
impl Unpin for PublishLayerVersionInput
impl UnwindSafe for PublishLayerVersionInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more