![]() |
![]()
| ![]() |
![]()
NAMEPaws::CodeArtifact::UpdatePackageVersionsStatus - Arguments for method UpdatePackageVersionsStatus on Paws::CodeArtifact DESCRIPTIONThis class represents the parameters used for calling the method UpdatePackageVersionsStatus on the CodeArtifact service. Use the attributes of this class as arguments to method UpdatePackageVersionsStatus. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdatePackageVersionsStatus. SYNOPSISmy $codeartifact = Paws->service('CodeArtifact'); my $UpdatePackageVersionsStatusResult = $codeartifact->UpdatePackageVersionsStatus( Domain => 'MyDomainName', Format => 'npm', Package => 'MyPackageName', Repository => 'MyRepositoryName', TargetStatus => 'Published', Versions => [ 'MyPackageVersion', ... # min: 1, max: 255 ], DomainOwner => 'MyAccountId', # OPTIONAL ExpectedStatus => 'Published', # OPTIONAL Namespace => 'MyPackageNamespace', # OPTIONAL VersionRevisions => { 'MyPackageVersion' => 'MyPackageVersionRevision' , # key: min: 1, max: 255, value: min: 1, max: 50 }, # OPTIONAL ); # Results: my $FailedVersions = $UpdatePackageVersionsStatusResult->FailedVersions; my $SuccessfulVersions = $UpdatePackageVersionsStatusResult->SuccessfulVersions; # Returns a L<Paws::CodeArtifact::UpdatePackageVersionsStatusResult> object. Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/codeartifact/UpdatePackageVersionsStatus> ATTRIBUTESREQUIRED Domain => StrThe name of the domain that contains the repository that contains the package versions with a status to be updated. DomainOwner => StrThe 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces. ExpectedStatus => StrThe package version’s expected status before it is updated. If "expectedStatus" is provided, the package version's status is updated only if its status at the time "UpdatePackageVersionsStatus" is called matches "expectedStatus". Valid values are: "Published", "Unfinished", "Unlisted", "Archived", "Disposed", "Deleted" REQUIRED Format => StrA format that specifies the type of the package with the statuses to update. The valid values are:
Valid values are: "npm", "pypi", "maven", "nuget" Namespace => StrThe namespace of the package. The package component that specifies its namespace depends on its type. For example:
REQUIRED Package => StrThe name of the package with the version statuses to update. REQUIRED Repository => StrThe repository that contains the package versions with the status you want to update. REQUIRED TargetStatus => StrThe status you want to change the package version status to. Valid values are: "Published", "Unfinished", "Unlisted", "Archived", "Disposed", "Deleted" VersionRevisions => Paws::CodeArtifact::PackageVersionRevisionMapA map of package versions and package version revisions. The map "key" is the package version (for example, 3.5.2), and the map "value" is the package version revision. REQUIRED Versions => ArrayRef[Str|Undef]An array of strings that specify the versions of the package with the statuses to update. SEE ALSOThis class forms part of Paws, documenting arguments for method UpdatePackageVersionsStatus in Paws::CodeArtifact BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|