NAME

Paws::CodeArtifact::PutRepositoryPermissionsPolicy - Arguments for method PutRepositoryPermissionsPolicy on Paws::CodeArtifact

DESCRIPTION

This 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.

SYNOPSIS

   my $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

ATTRIBUTES

REQUIRED Domain => Str

The name of the domain containing the repository to set the resource policy on.

DomainOwner => Str

The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

REQUIRED PolicyDocument => Str

A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided repository.

PolicyRevision => Str

Sets 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 => Str

The name of the repository to set the resource policy on.

SEE ALSO

This class forms part of Paws, documenting arguments for method PutRepositoryPermissionsPolicy in Paws::CodeArtifact

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues