#[non_exhaustive]pub struct PutPackageOriginConfigurationInput { /* private fields */ }
Implementations§
source§impl PutPackageOriginConfigurationInput
impl PutPackageOriginConfigurationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutPackageOriginConfiguration, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutPackageOriginConfiguration, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<PutPackageOriginConfiguration
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PutPackageOriginConfigurationInput
.
source§impl PutPackageOriginConfigurationInput
impl PutPackageOriginConfigurationInput
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.
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.
sourcepub fn format(&self) -> Option<&PackageFormat>
pub fn format(&self) -> Option<&PackageFormat>
A format that specifies the type of the package to be updated.
sourcepub fn namespace(&self) -> Option<&str>
pub fn namespace(&self) -> Option<&str>
The namespace of the package to be updated. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package is its
groupId
. -
The namespace of an npm package is its
scope
. -
Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
sourcepub fn restrictions(&self) -> Option<&PackageOriginRestrictions>
pub fn restrictions(&self) -> Option<&PackageOriginRestrictions>
A PackageOriginRestrictions object that contains information about the upstream
and publish
package origin restrictions. The upstream
restriction determines if new package versions can be ingested or retained from external connections or upstream repositories. The publish
restriction determines if new package versions can be published directly to the repository.
You must include both the desired upstream
and publish
restrictions.
Trait Implementations§
source§impl Clone for PutPackageOriginConfigurationInput
impl Clone for PutPackageOriginConfigurationInput
source§fn clone(&self) -> PutPackageOriginConfigurationInput
fn clone(&self) -> PutPackageOriginConfigurationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<PutPackageOriginConfigurationInput> for PutPackageOriginConfigurationInput
impl PartialEq<PutPackageOriginConfigurationInput> for PutPackageOriginConfigurationInput
source§fn eq(&self, other: &PutPackageOriginConfigurationInput) -> bool
fn eq(&self, other: &PutPackageOriginConfigurationInput) -> bool
self
and other
values to be equal, and is used
by ==
.