#[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.