Struct aws_sdk_lambda::input::PublishLayerVersionInput
source · [−]#[non_exhaustive]pub struct PublishLayerVersionInput { /* private fields */ }
Implementations
sourceimpl PublishLayerVersionInput
impl PublishLayerVersionInput
sourcepub 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
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PublishLayerVersionInput
.
sourceimpl 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
sourceimpl Clone for PublishLayerVersionInput
impl Clone for PublishLayerVersionInput
sourcefn clone(&self) -> PublishLayerVersionInput
fn clone(&self) -> PublishLayerVersionInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PublishLayerVersionInput
impl Debug for PublishLayerVersionInput
sourceimpl PartialEq<PublishLayerVersionInput> for PublishLayerVersionInput
impl PartialEq<PublishLayerVersionInput> for PublishLayerVersionInput
sourcefn 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 ==
. Read more
impl StructuralPartialEq for PublishLayerVersionInput
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more