« blib/lib/Paws/LicenseManager/ListLicensesResponse.pm
↑ Summary
blib/lib/Paws/LicenseManager/ListReceivedGrantsResponse.pm »
| 1 | |||
| 2 | package Paws::LicenseManager::ListReceivedGrants; | ||
| 3 | use Moose; | ||
| 4 | has Filters => (is => 'ro', isa => 'ArrayRef[Paws::LicenseManager::Filter]'); | ||
| 5 | has GrantArns => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 6 | has MaxResults => (is => 'ro', isa => 'Int'); | ||
| 7 | has NextToken => (is => 'ro', isa => 'Str'); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListReceivedGrants'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::LicenseManager::ListReceivedGrantsResponse'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::LicenseManager::ListReceivedGrants - Arguments for method ListReceivedGrants on L<Paws::LicenseManager> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method ListReceivedGrants on the | ||
| 25 | L<AWS License Manager|Paws::LicenseManager> service. Use the attributes of this class | ||
| 26 | as arguments to method ListReceivedGrants. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListReceivedGrants. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $license-manager = Paws->service('LicenseManager'); | ||
| 33 | my $ListReceivedGrantsResponse = $license -manager->ListReceivedGrants( | ||
| 34 | Filters => [ | ||
| 35 | { | ||
| 36 | Name => 'MyFilterName', # OPTIONAL | ||
| 37 | Values => [ 'MyFilterValue', ... ], # OPTIONAL | ||
| 38 | }, | ||
| 39 | ... | ||
| 40 | ], # OPTIONAL | ||
| 41 | GrantArns => [ | ||
| 42 | 'MyArn', ... # max: 2048 | ||
| 43 | ], # OPTIONAL | ||
| 44 | MaxResults => 1, # OPTIONAL | ||
| 45 | NextToken => 'MyString', # OPTIONAL | ||
| 46 | ); | ||
| 47 | |||
| 48 | # Results: | ||
| 49 | my $Grants = $ListReceivedGrantsResponse->Grants; | ||
| 50 | my $NextToken = $ListReceivedGrantsResponse->NextToken; | ||
| 51 | |||
| 52 | # Returns a L<Paws::LicenseManager::ListReceivedGrantsResponse> object. | ||
| 53 | |||
| 54 | 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. | ||
| 55 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/license-manager/ListReceivedGrants> | ||
| 56 | |||
| 57 | =head1 ATTRIBUTES | ||
| 58 | |||
| 59 | |||
| 60 | =head2 Filters => ArrayRef[L<Paws::LicenseManager::Filter>] | ||
| 61 | |||
| 62 | Filters to scope the results. The following filters are supported: | ||
| 63 | |||
| 64 | =over | ||
| 65 | |||
| 66 | =item * | ||
| 67 | |||
| 68 | C<ProductSKU> | ||
| 69 | |||
| 70 | =item * | ||
| 71 | |||
| 72 | C<LicenseIssuerName> | ||
| 73 | |||
| 74 | =item * | ||
| 75 | |||
| 76 | C<LicenseArn> | ||
| 77 | |||
| 78 | =item * | ||
| 79 | |||
| 80 | C<GrantStatus> | ||
| 81 | |||
| 82 | =item * | ||
| 83 | |||
| 84 | C<GranterAccountId> | ||
| 85 | |||
| 86 | =back | ||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | |||
| 91 | =head2 GrantArns => ArrayRef[Str|Undef] | ||
| 92 | |||
| 93 | Amazon Resource Names (ARNs) of the grants. | ||
| 94 | |||
| 95 | |||
| 96 | |||
| 97 | =head2 MaxResults => Int | ||
| 98 | |||
| 99 | Maximum number of results to return in a single call. | ||
| 100 | |||
| 101 | |||
| 102 | |||
| 103 | =head2 NextToken => Str | ||
| 104 | |||
| 105 | Token for the next set of results. | ||
| 106 | |||
| 107 | |||
| 108 | |||
| 109 | |||
| 110 | =head1 SEE ALSO | ||
| 111 | |||
| 112 | This class forms part of L<Paws>, documenting arguments for method ListReceivedGrants in L<Paws::LicenseManager> | ||
| 113 | |||
| 114 | =head1 BUGS and CONTRIBUTIONS | ||
| 115 | |||
| 116 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 117 | |||
| 118 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 119 | |||
| 120 | =cut | ||
| 121 |