« blib/lib/Paws/SSM/ListDocumentsResult.pm
↑ Summary
blib/lib/Paws/SSM/ListInventoryEntriesResult.pm »
| 1 | |||
| 2 | package Paws::SSM::ListInventoryEntries; | ||
| 3 | use Moose; | ||
| 4 | has Filters => (is => 'ro', isa => 'ArrayRef[Paws::SSM::InventoryFilter]'); | ||
| 5 | has InstanceId => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has MaxResults => (is => 'ro', isa => 'Int'); | ||
| 7 | has NextToken => (is => 'ro', isa => 'Str'); | ||
| 8 | has TypeName => (is => 'ro', isa => 'Str', required => 1); | ||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListInventoryEntries'); | ||
| 13 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SSM::ListInventoryEntriesResult'); | ||
| 14 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::SSM::ListInventoryEntries - Arguments for method ListInventoryEntries on L<Paws::SSM> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method ListInventoryEntries on the | ||
| 26 | L<Amazon Simple Systems Manager (SSM)|Paws::SSM> service. Use the attributes of this class | ||
| 27 | as arguments to method ListInventoryEntries. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListInventoryEntries. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $ssm = Paws->service('SSM'); | ||
| 34 | my $ListInventoryEntriesResult = $ssm->ListInventoryEntries( | ||
| 35 | InstanceId => 'MyInstanceId', | ||
| 36 | TypeName => 'MyInventoryItemTypeName', | ||
| 37 | Filters => [ | ||
| 38 | { | ||
| 39 | Key => 'MyInventoryFilterKey', # min: 1, max: 200 | ||
| 40 | Values => [ 'MyInventoryFilterValue', ... ], # min: 1, max: 40 | ||
| 41 | Type => 'Equal' | ||
| 42 | , # values: Equal, NotEqual, BeginWith, LessThan, GreaterThan, Exists; OPTIONAL | ||
| 43 | }, | ||
| 44 | ... | ||
| 45 | ], # OPTIONAL | ||
| 46 | MaxResults => 1, # OPTIONAL | ||
| 47 | NextToken => 'MyNextToken', # OPTIONAL | ||
| 48 | ); | ||
| 49 | |||
| 50 | # Results: | ||
| 51 | my $CaptureTime = $ListInventoryEntriesResult->CaptureTime; | ||
| 52 | my $Entries = $ListInventoryEntriesResult->Entries; | ||
| 53 | my $InstanceId = $ListInventoryEntriesResult->InstanceId; | ||
| 54 | my $NextToken = $ListInventoryEntriesResult->NextToken; | ||
| 55 | my $SchemaVersion = $ListInventoryEntriesResult->SchemaVersion; | ||
| 56 | my $TypeName = $ListInventoryEntriesResult->TypeName; | ||
| 57 | |||
| 58 | # Returns a L<Paws::SSM::ListInventoryEntriesResult> object. | ||
| 59 | |||
| 60 | 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. | ||
| 61 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ssm/ListInventoryEntries> | ||
| 62 | |||
| 63 | =head1 ATTRIBUTES | ||
| 64 | |||
| 65 | |||
| 66 | =head2 Filters => ArrayRef[L<Paws::SSM::InventoryFilter>] | ||
| 67 | |||
| 68 | One or more filters. Use a filter to return a more specific list of | ||
| 69 | results. | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | =head2 B<REQUIRED> InstanceId => Str | ||
| 74 | |||
| 75 | The instance ID for which you want inventory information. | ||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | =head2 MaxResults => Int | ||
| 80 | |||
| 81 | The maximum number of items to return for this call. The call also | ||
| 82 | returns a token that you can specify in a subsequent call to get the | ||
| 83 | next set of results. | ||
| 84 | |||
| 85 | |||
| 86 | |||
| 87 | =head2 NextToken => Str | ||
| 88 | |||
| 89 | The token for the next set of items to return. (You received this token | ||
| 90 | from a previous call.) | ||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | =head2 B<REQUIRED> TypeName => Str | ||
| 95 | |||
| 96 | The type of inventory item for which you want information. | ||
| 97 | |||
| 98 | |||
| 99 | |||
| 100 | |||
| 101 | =head1 SEE ALSO | ||
| 102 | |||
| 103 | This class forms part of L<Paws>, documenting arguments for method ListInventoryEntries in L<Paws::SSM> | ||
| 104 | |||
| 105 | =head1 BUGS and CONTRIBUTIONS | ||
| 106 | |||
| 107 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 108 | |||
| 109 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 110 | |||
| 111 | =cut | ||
| 112 |