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::SecretsManager::GetResourcePolicy; use Moose; has SecretId => (is => 'ro', isa => 'Str', required => 1); use MooseX::ClassAttribute; class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetResourcePolicy'); class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SecretsManager::GetResourcePolicyResponse'); class_has _result_key => (isa => 'Str', is => 'ro'); 1; ### main pod documentation begin ### =head1 NAME Paws::SecretsManager::GetResourcePolicy - Arguments for method GetResourcePolicy on L =head1 DESCRIPTION This class represents the parameters used for calling the method GetResourcePolicy on the L service. Use the attributes of this class as arguments to method GetResourcePolicy. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetResourcePolicy. =head1 SYNOPSIS my $secretsmanager = Paws->service('SecretsManager'); # To retrieve the resource-based policy attached to a secret # The following example shows how to retrieve the resource-based policy that is # attached to a secret. my $GetResourcePolicyResponse = $secretsmanager->GetResourcePolicy( 'SecretId' => 'MyTestDatabaseSecret' ); # Results: my $ARN = $GetResourcePolicyResponse->ARN; my $Name = $GetResourcePolicyResponse->Name; my $ResourcePolicy = $GetResourcePolicyResponse->ResourcePolicy; # 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 B SecretId => Str Specifies the secret that you want to retrieve the attached resource-based policy for. You can specify either the Amazon Resource Name (ARN) or the friendly name of the secret. If you specify an ARN, we generally recommend that you specify a complete ARN. You can specify a partial ARN tooEfor example, if you donEt include the final hyphen and six random characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN match can work as long as it uniquely matches only one secret. However, if your secret has a name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six characters to the ARN) and you try to use that as a partial ARN, then those characters cause Secrets Manager to assume that youEre specifying a complete ARN. This confusion can cause unexpected results. To avoid this situation, we recommend that you donEt create secret names ending with a hyphen followed by six characters. If you specify an incomplete ARN without the random suffix, and instead provide the 'friendly name', you I not include the random suffix. If you do include the random suffix added by Secrets Manager, you receive either a I or an I error, depending on your permissions. =head1 SEE ALSO This class forms part of L, documenting arguments for method GetResourcePolicy in L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut