PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` package Paws::Organizations::UpdatePolicy; use Moose; has Content => (is => 'ro', isa => 'Str'); has Description => (is => 'ro', isa => 'Str'); has Name => (is => 'ro', isa => 'Str'); has PolicyId => (is => 'ro', isa => 'Str', required => 1); use MooseX::ClassAttribute; class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdatePolicy'); class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Organizations::UpdatePolicyResponse'); class_has _result_key => (isa => 'Str', is => 'ro'); 1; ### main pod documentation begin ### =head1 NAME Paws::Organizations::UpdatePolicy - Arguments for method UpdatePolicy on L =head1 DESCRIPTION This class represents the parameters used for calling the method UpdatePolicy on the L service. Use the attributes of this class as arguments to method UpdatePolicy. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdatePolicy. =head1 SYNOPSIS my $organizations = Paws->service('Organizations'); # To update the details of a policy # The following example shows how to rename a policy and give it a new # description and new content. The output confirms the new name and description # text:/n/n my $UpdatePolicyResponse = $organizations->UpdatePolicy( 'Description' => 'This description replaces the original.', 'Name' => 'Renamed-Policy', 'PolicyId' => 'p-examplepolicyid111' ); # Results: my $Policy = $UpdatePolicyResponse->Policy; # Returns a L object. # To update the content of a policy # The following example shows how to replace the JSON text of the SCP from the # preceding example with a new JSON policy text string that allows S3 actions # instead of EC2 actions:/n/n my $UpdatePolicyResponse = $organizations->UpdatePolicy( 'Content' => '{ \"Version\": \"2012-10-17\", \"Statement\": {\"Effect\": \"Allow\", \"Action\": \"s3:*\", \"Resource\": \"*\" } }', 'PolicyId' => 'p-examplepolicyid111' ); # Results: my $Policy = $UpdatePolicyResponse->Policy; # Returns a L 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 L =head1 ATTRIBUTES =head2 Content => Str If provided, the new content for the policy. The text must be correctly formatted JSON that complies with the syntax for the policy's type. For more information, see Service Control Policy Syntax (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_scp-syntax.html) in the I =head2 Description => Str If provided, the new description for the policy. =head2 Name => Str If provided, the new name for the policy. The regex pattern (http://wikipedia.org/wiki/regex) that is used to validate this parameter is a string of any of the characters in the ASCII character range. =head2 B PolicyId => Str The unique identifier (ID) of the policy that you want to update. The regex pattern (http://wikipedia.org/wiki/regex) for a policy ID string requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_). =head1 SEE ALSO This class forms part of L, documenting arguments for method UpdatePolicy in L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut