« blib/lib/Paws/ElasticInference/DescribeAcceleratorTypesResponse.pm
↑ Summary
blib/lib/Paws/ElasticInference/DescribeAcceleratorsResponse.pm »
| 1 | |||
| 2 | package Paws::ElasticInference::DescribeAccelerators; | ||
| 3 | use Moose; | ||
| 4 | has AcceleratorIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'acceleratorIds'); | ||
| 5 | has Filters => (is => 'ro', isa => 'ArrayRef[Paws::ElasticInference::Filter]', traits => ['NameInRequest'], request_name => 'filters'); | ||
| 6 | has MaxResults => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxResults'); | ||
| 7 | has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken'); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeAccelerators'); | ||
| 12 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/describe-accelerators'); | ||
| 13 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ElasticInference::DescribeAcceleratorsResponse'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::ElasticInference::DescribeAccelerators - Arguments for method DescribeAccelerators on L<Paws::ElasticInference> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method DescribeAccelerators on the | ||
| 26 | L<Amazon Elastic Inference|Paws::ElasticInference> service. Use the attributes of this class | ||
| 27 | as arguments to method DescribeAccelerators. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeAccelerators. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $api.elastic-inference = Paws->service('ElasticInference'); | ||
| 34 | my $DescribeAcceleratorsResponse = | ||
| 35 | $api . elastic-inference->DescribeAccelerators( | ||
| 36 | AcceleratorIds => [ | ||
| 37 | 'MyAcceleratorId', ... # min: 1, max: 256 | ||
| 38 | ], # OPTIONAL | ||
| 39 | Filters => [ | ||
| 40 | { | ||
| 41 | Name => 'MyFilterName', # min: 1, max: 128; OPTIONAL | ||
| 42 | Values => [ | ||
| 43 | 'MyString', ... # max: 500000 | ||
| 44 | ], # max: 100; OPTIONAL | ||
| 45 | }, | ||
| 46 | ... | ||
| 47 | ], # OPTIONAL | ||
| 48 | MaxResults => 1, # OPTIONAL | ||
| 49 | NextToken => 'MyNextToken', # OPTIONAL | ||
| 50 | ); | ||
| 51 | |||
| 52 | # Results: | ||
| 53 | my $AcceleratorSet = $DescribeAcceleratorsResponse->AcceleratorSet; | ||
| 54 | my $NextToken = $DescribeAcceleratorsResponse->NextToken; | ||
| 55 | |||
| 56 | # Returns a L<Paws::ElasticInference::DescribeAcceleratorsResponse> object. | ||
| 57 | |||
| 58 | 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. | ||
| 59 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/api.elastic-inference/DescribeAccelerators> | ||
| 60 | |||
| 61 | =head1 ATTRIBUTES | ||
| 62 | |||
| 63 | |||
| 64 | =head2 AcceleratorIds => ArrayRef[Str|Undef] | ||
| 65 | |||
| 66 | The IDs of the accelerators to describe. | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | =head2 Filters => ArrayRef[L<Paws::ElasticInference::Filter>] | ||
| 71 | |||
| 72 | One or more filters. Filter names and values are case-sensitive. Valid | ||
| 73 | filter names are: accelerator-types: can provide a list of accelerator | ||
| 74 | type names to filter for. instance-id: can provide a list of EC2 | ||
| 75 | instance ids to filter for. | ||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | =head2 MaxResults => Int | ||
| 80 | |||
| 81 | The total number of items to return in the command's output. If the | ||
| 82 | total number of items available is more than the value specified, a | ||
| 83 | NextToken is provided in the command's output. To resume pagination, | ||
| 84 | provide the NextToken value in the starting-token argument of a | ||
| 85 | subsequent command. Do not use the NextToken response element directly | ||
| 86 | outside of the AWS CLI. | ||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | =head2 NextToken => Str | ||
| 91 | |||
| 92 | A token to specify where to start paginating. This is the NextToken | ||
| 93 | from a previously truncated response. | ||
| 94 | |||
| 95 | |||
| 96 | |||
| 97 | |||
| 98 | =head1 SEE ALSO | ||
| 99 | |||
| 100 | This class forms part of L<Paws>, documenting arguments for method DescribeAccelerators in L<Paws::ElasticInference> | ||
| 101 | |||
| 102 | =head1 BUGS and CONTRIBUTIONS | ||
| 103 | |||
| 104 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 105 | |||
| 106 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 107 | |||
| 108 | =cut | ||
| 109 |