Struct aws_sdk_codeartifact::output::delete_package_versions_output::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for DeletePackageVersionsOutput
Implementations
pub fn successful_versions(
self,
k: impl Into<String>,
v: impl Into<SuccessfulPackageVersionInfo>
) -> Self
pub fn successful_versions(
self,
k: impl Into<String>,
v: impl Into<SuccessfulPackageVersionInfo>
) -> Self
Adds a key-value pair to successful_versions
.
To override the contents of this collection use set_successful_versions
.
A list of the package versions that were successfully deleted.
pub fn set_successful_versions(
self,
input: Option<HashMap<String, SuccessfulPackageVersionInfo>>
) -> Self
pub fn set_successful_versions(
self,
input: Option<HashMap<String, SuccessfulPackageVersionInfo>>
) -> Self
A list of the package versions that were successfully deleted.
Adds a key-value pair to failed_versions
.
To override the contents of this collection use set_failed_versions
.
A PackageVersionError
object that contains a map of errors codes for the
deleted package that failed. The possible error codes are:
-
ALREADY_EXISTS
-
MISMATCHED_REVISION
-
MISMATCHED_STATUS
-
NOT_ALLOWED
-
NOT_FOUND
-
SKIPPED
A PackageVersionError
object that contains a map of errors codes for the
deleted package that failed. The possible error codes are:
-
ALREADY_EXISTS
-
MISMATCHED_REVISION
-
MISMATCHED_STATUS
-
NOT_ALLOWED
-
NOT_FOUND
-
SKIPPED
Consumes the builder and constructs a DeletePackageVersionsOutput
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more