« blib/lib/Paws/Lambda/PutProvisionedConcurrencyConfigResponse.pm
↑ Summary
blib/lib/Paws/Lambda/RemovePermission.pm »
| 1 | |||
| 2 | package Paws::Lambda::RemoveLayerVersionPermission; | ||
| 3 | use Moose; | ||
| 4 | has LayerName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'LayerName', required => 1); | ||
| 5 | has RevisionId => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'RevisionId'); | ||
| 6 | has StatementId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'StatementId', required => 1); | ||
| 7 | has VersionNumber => (is => 'ro', isa => 'Int', traits => ['ParamInURI'], uri_name => 'VersionNumber', required => 1); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'RemoveLayerVersionPermission'); | ||
| 12 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy/{StatementId}'); | ||
| 13 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'DELETE'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::Lambda::RemoveLayerVersionPermission - Arguments for method RemoveLayerVersionPermission on L<Paws::Lambda> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method RemoveLayerVersionPermission on the | ||
| 26 | L<AWS Lambda|Paws::Lambda> service. Use the attributes of this class | ||
| 27 | as arguments to method RemoveLayerVersionPermission. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to RemoveLayerVersionPermission. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $lambda = Paws->service('Lambda'); | ||
| 34 | # To delete layer-version permissions | ||
| 35 | # The following example deletes permission for an account to configure a layer | ||
| 36 | # version. | ||
| 37 | $lambda->RemoveLayerVersionPermission( | ||
| 38 | 'LayerName' => 'my-layer', | ||
| 39 | 'StatementId' => 'xaccount', | ||
| 40 | 'VersionNumber' => 1 | ||
| 41 | ); | ||
| 42 | |||
| 43 | |||
| 44 | 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. | ||
| 45 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/lambda/RemoveLayerVersionPermission> | ||
| 46 | |||
| 47 | =head1 ATTRIBUTES | ||
| 48 | |||
| 49 | |||
| 50 | =head2 B<REQUIRED> LayerName => Str | ||
| 51 | |||
| 52 | The name or Amazon Resource Name (ARN) of the layer. | ||
| 53 | |||
| 54 | |||
| 55 | |||
| 56 | =head2 RevisionId => Str | ||
| 57 | |||
| 58 | Only update the policy if the revision ID matches the ID specified. Use | ||
| 59 | this option to avoid modifying a policy that has changed since you last | ||
| 60 | read it. | ||
| 61 | |||
| 62 | |||
| 63 | |||
| 64 | =head2 B<REQUIRED> StatementId => Str | ||
| 65 | |||
| 66 | The identifier that was specified when the statement was added. | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | =head2 B<REQUIRED> VersionNumber => Int | ||
| 71 | |||
| 72 | The version number. | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | =head1 SEE ALSO | ||
| 78 | |||
| 79 | This class forms part of L<Paws>, documenting arguments for method RemoveLayerVersionPermission in L<Paws::Lambda> | ||
| 80 | |||
| 81 | =head1 BUGS and CONTRIBUTIONS | ||
| 82 | |||
| 83 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 84 | |||
| 85 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 86 | |||
| 87 | =cut | ||
| 88 |