#[non_exhaustive]pub struct GetPackageVersionOutput {
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>,
pub creation_date: Option<DateTime>,
pub last_modified_date: Option<DateTime>,
/* 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 ARN for the package version.
package_name: Option<String>
The name of the software package.
version_name: Option<String>
The name of the 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 associated to 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.
creation_date: Option<DateTime>
The date when the package version was created.
last_modified_date: Option<DateTime>
The date when the package version was last updated.
Implementations§
source§impl GetPackageVersionOutput
impl GetPackageVersionOutput
sourcepub fn package_version_arn(&self) -> Option<&str>
pub fn package_version_arn(&self) -> Option<&str>
The ARN for the package version.
sourcepub fn package_name(&self) -> Option<&str>
pub fn package_name(&self) -> Option<&str>
The name of the software package.
sourcepub fn version_name(&self) -> Option<&str>
pub fn version_name(&self) -> Option<&str>
The name of the 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 associated to 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.
sourcepub fn creation_date(&self) -> Option<&DateTime>
pub fn creation_date(&self) -> Option<&DateTime>
The date when the package version was created.
sourcepub fn last_modified_date(&self) -> Option<&DateTime>
pub fn last_modified_date(&self) -> Option<&DateTime>
The date when the package version was last updated.
source§impl GetPackageVersionOutput
impl GetPackageVersionOutput
sourcepub fn builder() -> GetPackageVersionOutputBuilder
pub fn builder() -> GetPackageVersionOutputBuilder
Creates a new builder-style object to manufacture GetPackageVersionOutput
.
Trait Implementations§
source§impl Clone for GetPackageVersionOutput
impl Clone for GetPackageVersionOutput
source§fn clone(&self) -> GetPackageVersionOutput
fn clone(&self) -> GetPackageVersionOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetPackageVersionOutput
impl Debug for GetPackageVersionOutput
source§impl PartialEq for GetPackageVersionOutput
impl PartialEq for GetPackageVersionOutput
source§fn eq(&self, other: &GetPackageVersionOutput) -> bool
fn eq(&self, other: &GetPackageVersionOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetPackageVersionOutput
impl RequestId for GetPackageVersionOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.