#[non_exhaustive]pub struct GetPackageVersionAssetInput { /* private fields */ }
Implementations§
source§impl GetPackageVersionAssetInput
impl GetPackageVersionAssetInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetPackageVersionAsset, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetPackageVersionAsset, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetPackageVersionAsset
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetPackageVersionAssetInput
.
source§impl GetPackageVersionAssetInput
impl GetPackageVersionAssetInput
sourcepub fn domain(&self) -> Option<&str>
pub fn domain(&self) -> Option<&str>
The name of the domain that contains the repository that contains the package version with the requested asset.
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 repository that contains the package version with the requested asset.
sourcepub fn format(&self) -> Option<&PackageFormat>
pub fn format(&self) -> Option<&PackageFormat>
A format that specifies the type of the package version with the requested asset file.
sourcepub fn namespace(&self) -> Option<&str>
pub fn namespace(&self) -> Option<&str>
The namespace of the package version with the requested asset file. 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 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 package(&self) -> Option<&str>
pub fn package(&self) -> Option<&str>
The name of the package that contains the requested asset.
sourcepub fn package_version(&self) -> Option<&str>
pub fn package_version(&self) -> Option<&str>
A string that contains the package version (for example, 3.5.2
).
sourcepub fn package_version_revision(&self) -> Option<&str>
pub fn package_version_revision(&self) -> Option<&str>
The name of the package version revision that contains the requested asset.
Trait Implementations§
source§impl Clone for GetPackageVersionAssetInput
impl Clone for GetPackageVersionAssetInput
source§fn clone(&self) -> GetPackageVersionAssetInput
fn clone(&self) -> GetPackageVersionAssetInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetPackageVersionAssetInput
impl Debug for GetPackageVersionAssetInput
source§impl PartialEq<GetPackageVersionAssetInput> for GetPackageVersionAssetInput
impl PartialEq<GetPackageVersionAssetInput> for GetPackageVersionAssetInput
source§fn eq(&self, other: &GetPackageVersionAssetInput) -> bool
fn eq(&self, other: &GetPackageVersionAssetInput) -> bool
self
and other
values to be equal, and is used
by ==
.