#[non_exhaustive]pub struct DeletePackageVersionsInput { /* private fields */ }
Implementations§
source§impl DeletePackageVersionsInput
impl DeletePackageVersionsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeletePackageVersions, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeletePackageVersions, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeletePackageVersions
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DeletePackageVersionsInput
.
source§impl DeletePackageVersionsInput
impl DeletePackageVersionsInput
sourcepub fn domain(&self) -> Option<&str>
pub fn domain(&self) -> Option<&str>
The name of the domain that contains the package to delete.
sourcepub fn domain_owner(&self) -> Option<&str>
pub fn domain_owner(&self) -> Option<&str>
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
sourcepub fn repository(&self) -> Option<&str>
pub fn repository(&self) -> Option<&str>
The name of the repository that contains the package versions to delete.
sourcepub fn format(&self) -> Option<&PackageFormat>
pub fn format(&self) -> Option<&PackageFormat>
The format of the package versions to delete.
sourcepub fn namespace(&self) -> Option<&str>
pub fn namespace(&self) -> Option<&str>
The namespace of the package versions to be deleted. The package version component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package version is its
groupId
. The namespace is required when deleting Maven package versions. -
The namespace of an npm package version is its
scope
. -
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
sourcepub fn versions(&self) -> Option<&[String]>
pub fn versions(&self) -> Option<&[String]>
An array of strings that specify the versions of the package to delete.
sourcepub fn expected_status(&self) -> Option<&PackageVersionStatus>
pub fn expected_status(&self) -> Option<&PackageVersionStatus>
The expected status of the package version to delete.
Trait Implementations§
source§impl Clone for DeletePackageVersionsInput
impl Clone for DeletePackageVersionsInput
source§fn clone(&self) -> DeletePackageVersionsInput
fn clone(&self) -> DeletePackageVersionsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeletePackageVersionsInput
impl Debug for DeletePackageVersionsInput
source§impl PartialEq<DeletePackageVersionsInput> for DeletePackageVersionsInput
impl PartialEq<DeletePackageVersionsInput> for DeletePackageVersionsInput
source§fn eq(&self, other: &DeletePackageVersionsInput) -> bool
fn eq(&self, other: &DeletePackageVersionsInput) -> bool
self
and other
values to be equal, and is used
by ==
.