#[non_exhaustive]pub struct CreatePackageVersionOutput {
pub package_version_arn: Option<String>,
pub package_name: Option<String>,
pub version_name: Option<String>,
pub description: Option<String>,
pub attributes: Option<HashMap<String, String>>,
pub status: Option<PackageVersionStatus>,
pub error_reason: Option<String>,
/* private fields */
}
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.package_version_arn: Option<String>
The Amazon Resource Name (ARN) for the package.
package_name: Option<String>
The name of the associated software package.
version_name: Option<String>
The name of the new package version.
description: Option<String>
The package version description.
attributes: Option<HashMap<String, String>>
Metadata that were added to the package version that can be used to define a package version’s configuration.
status: Option<PackageVersionStatus>
The status of the package version. For more information, see Package version lifecycle.
error_reason: Option<String>
Error reason for a package version failure during creation or update.
Implementations§
source§impl CreatePackageVersionOutput
impl CreatePackageVersionOutput
sourcepub fn package_version_arn(&self) -> Option<&str>
pub fn package_version_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the package.
sourcepub fn package_name(&self) -> Option<&str>
pub fn package_name(&self) -> Option<&str>
The name of the associated software package.
sourcepub fn version_name(&self) -> Option<&str>
pub fn version_name(&self) -> Option<&str>
The name of the new package version.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The package version description.
sourcepub fn attributes(&self) -> Option<&HashMap<String, String>>
pub fn attributes(&self) -> Option<&HashMap<String, String>>
Metadata that were added to the package version that can be used to define a package version’s configuration.
sourcepub fn status(&self) -> Option<&PackageVersionStatus>
pub fn status(&self) -> Option<&PackageVersionStatus>
The status of the package version. For more information, see Package version lifecycle.
sourcepub fn error_reason(&self) -> Option<&str>
pub fn error_reason(&self) -> Option<&str>
Error reason for a package version failure during creation or update.
source§impl CreatePackageVersionOutput
impl CreatePackageVersionOutput
sourcepub fn builder() -> CreatePackageVersionOutputBuilder
pub fn builder() -> CreatePackageVersionOutputBuilder
Creates a new builder-style object to manufacture CreatePackageVersionOutput
.
Trait Implementations§
source§impl Clone for CreatePackageVersionOutput
impl Clone for CreatePackageVersionOutput
source§fn clone(&self) -> CreatePackageVersionOutput
fn clone(&self) -> CreatePackageVersionOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreatePackageVersionOutput
impl Debug for CreatePackageVersionOutput
source§impl PartialEq for CreatePackageVersionOutput
impl PartialEq for CreatePackageVersionOutput
source§fn eq(&self, other: &CreatePackageVersionOutput) -> bool
fn eq(&self, other: &CreatePackageVersionOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for CreatePackageVersionOutput
impl RequestId for CreatePackageVersionOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for CreatePackageVersionOutput
Auto Trait Implementations§
impl Freeze for CreatePackageVersionOutput
impl RefUnwindSafe for CreatePackageVersionOutput
impl Send for CreatePackageVersionOutput
impl Sync for CreatePackageVersionOutput
impl Unpin for CreatePackageVersionOutput
impl UnwindSafe for CreatePackageVersionOutput
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
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>
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>
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