#[non_exhaustive]pub struct PublishLayerVersionInput { /* private fields */ }
Implementations§
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.
source§impl PublishLayerVersionInput
impl PublishLayerVersionInput
sourcepub fn builder() -> PublishLayerVersionInputBuilder
pub fn builder() -> PublishLayerVersionInputBuilder
Creates a new builder-style object to manufacture PublishLayerVersionInput
.
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
>
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 for PublishLayerVersionInput
impl PartialEq 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 ==
.impl StructuralPartialEq for PublishLayerVersionInput
Auto Trait Implementations§
impl Freeze for PublishLayerVersionInput
impl RefUnwindSafe for PublishLayerVersionInput
impl Send for PublishLayerVersionInput
impl Sync for PublishLayerVersionInput
impl Unpin for PublishLayerVersionInput
impl UnwindSafe for PublishLayerVersionInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more