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::Lambda::AddLayerVersionPermission; use Moose; has Action => (is => 'ro', isa => 'Str', required => 1); has LayerName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'LayerName', required => 1); has OrganizationId => (is => 'ro', isa => 'Str'); has Principal => (is => 'ro', isa => 'Str', required => 1); has RevisionId => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'RevisionId'); has StatementId => (is => 'ro', isa => 'Str', required => 1); has VersionNumber => (is => 'ro', isa => 'Int', traits => ['ParamInURI'], uri_name => 'VersionNumber', required => 1); use MooseX::ClassAttribute; class_has _api_call => (isa => 'Str', is => 'ro', default => 'AddLayerVersionPermission'); class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy'); class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Lambda::AddLayerVersionPermissionResponse'); 1; ### main pod documentation begin ### =head1 NAME Paws::Lambda::AddLayerVersionPermission - Arguments for method AddLayerVersionPermission on L =head1 DESCRIPTION This class represents the parameters used for calling the method AddLayerVersionPermission on the L service. Use the attributes of this class as arguments to method AddLayerVersionPermission. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AddLayerVersionPermission. =head1 SYNOPSIS my $lambda = Paws->service('Lambda'); # To add permissions to a layer version # The following example grants permission for the account 223456789012 to use # version 1 of a layer named my-layer. my $AddLayerVersionPermissionResponse = $lambda->AddLayerVersionPermission( 'Action' => 'lambda:GetLayerVersion', 'LayerName' => 'my-layer', 'Principal' => 223456789012, 'StatementId' => 'xaccount', 'VersionNumber' => 1 ); # Results: my $RevisionId = $AddLayerVersionPermissionResponse->RevisionId; my $Statement = $AddLayerVersionPermissionResponse->Statement; # 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 Action => Str The API action that grants access to the layer. For example, C. =head2 B LayerName => Str The name or Amazon Resource Name (ARN) of the layer. =head2 OrganizationId => Str With the principal set to C<*>, grant permission to all accounts in the specified organization. =head2 B Principal => Str An account ID, or C<*> to grant layer usage permission to all accounts in an organization, or all Amazon Web Services accounts (if C is not specified). For the last case, make sure that you really do want all Amazon Web Services accounts to have usage permission to this layer. =head2 RevisionId => Str Only update the policy if the revision ID matches the ID specified. Use this option to avoid modifying a policy that has changed since you last read it. =head2 B StatementId => Str An identifier that distinguishes the policy from others on the same layer version. =head2 B VersionNumber => Int The version number. =head1 SEE ALSO This class forms part of L, documenting arguments for method AddLayerVersionPermission in L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut