NAME
Paws::CodeArtifact::PutDomainPermissionsPolicy - Arguments for method PutDomainPermissionsPolicy on Paws::CodeArtifact
DESCRIPTION
This class represents the parameters used for calling the method PutDomainPermissionsPolicy on the CodeArtifact service. Use the attributes of this class as arguments to method PutDomainPermissionsPolicy.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutDomainPermissionsPolicy.
SYNOPSIS
my $codeartifact = Paws->service('CodeArtifact');
my $PutDomainPermissionsPolicyResult =
$codeartifact->PutDomainPermissionsPolicy(
Domain => 'MyDomainName',
PolicyDocument => 'MyPolicyDocument',
DomainOwner => 'MyAccountId', # OPTIONAL
PolicyRevision => 'MyPolicyRevision', # OPTIONAL
);
# Results:
my $Policy = $PutDomainPermissionsPolicyResult->Policy;
# Returns a L<Paws::CodeArtifact::PutDomainPermissionsPolicyResult> 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/PutDomainPermissionsPolicy
ATTRIBUTES
REQUIRED Domain => Str
The name of the domain on which to set the resource policy.
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 domain.
PolicyRevision => Str
The current revision of the resource policy to be set. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain's resource policy.
SEE ALSO
This class forms part of Paws, documenting arguments for method PutDomainPermissionsPolicy 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