![]() |
![]()
| ![]() |
![]()
NAMEPaws::CodeArtifact::PutRepositoryPermissionsPolicy - Arguments for method PutRepositoryPermissionsPolicy on Paws::CodeArtifact DESCRIPTIONThis class represents the parameters used for calling the method PutRepositoryPermissionsPolicy on the CodeArtifact service. Use the attributes of this class as arguments to method PutRepositoryPermissionsPolicy. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutRepositoryPermissionsPolicy. SYNOPSISmy $codeartifact = Paws->service('CodeArtifact'); my $PutRepositoryPermissionsPolicyResult = $codeartifact->PutRepositoryPermissionsPolicy( Domain => 'MyDomainName', PolicyDocument => 'MyPolicyDocument', Repository => 'MyRepositoryName', DomainOwner => 'MyAccountId', # OPTIONAL PolicyRevision => 'MyPolicyRevision', # OPTIONAL ); # Results: my $Policy = $PutRepositoryPermissionsPolicyResult->Policy; # Returns a L<Paws::CodeArtifact::PutRepositoryPermissionsPolicyResult> 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/PutRepositoryPermissionsPolicy> ATTRIBUTESREQUIRED Domain => StrThe name of the domain containing the repository to set the resource policy on. DomainOwner => StrThe 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces. REQUIRED PolicyDocument => StrA valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided repository. PolicyRevision => StrSets the revision of the resource policy that specifies permissions to access the repository. This revision is used for optimistic locking, which prevents others from overwriting your changes to the repository's resource policy. REQUIRED Repository => StrThe name of the repository to set the resource policy on. SEE ALSOThis class forms part of Paws, documenting arguments for method PutRepositoryPermissionsPolicy 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>
|