File Coverage

blib/lib/Paws/EC2/DescribeClassicLinkInstances.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::EC2::DescribeClassicLinkInstances;
3 1     1   486 use Moose;
  1         3  
  1         7  
4             has DryRun => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'dryRun' );
5             has Filters => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Filter]', traits => ['NameInRequest'], request_name => 'Filter' );
6             has InstanceIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'InstanceId' );
7             has MaxResults => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxResults' );
8             has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken' );
9              
10 1     1   6232 use MooseX::ClassAttribute;
  1         3  
  1         9  
11              
12             class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeClassicLinkInstances');
13             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::DescribeClassicLinkInstancesResult');
14             class_has _result_key => (isa => 'Str', is => 'ro');
15             1;
16              
17             ### main pod documentation begin ###
18              
19             =head1 NAME
20              
21             Paws::EC2::DescribeClassicLinkInstances - Arguments for method DescribeClassicLinkInstances on Paws::EC2
22              
23             =head1 DESCRIPTION
24              
25             This class represents the parameters used for calling the method DescribeClassicLinkInstances on the
26             Amazon Elastic Compute Cloud service. Use the attributes of this class
27             as arguments to method DescribeClassicLinkInstances.
28              
29             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeClassicLinkInstances.
30              
31             As an example:
32              
33             $service_obj->DescribeClassicLinkInstances(Att1 => $value1, Att2 => $value2, ...);
34              
35             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.
36              
37             =head1 ATTRIBUTES
38              
39              
40             =head2 DryRun => Bool
41              
42             Checks whether you have the required permissions for the action,
43             without actually making the request, and provides an error response. If
44             you have the required permissions, the error response is
45             C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
46              
47              
48              
49             =head2 Filters => ArrayRef[L<Paws::EC2::Filter>]
50              
51             One or more filters.
52              
53             =over
54              
55             =item *
56              
57             C<group-id> - The ID of a VPC security group that's associated with the
58             instance.
59              
60             =item *
61              
62             C<instance-id> - The ID of the instance.
63              
64             =item *
65              
66             C<tag>:I<key>=I<value> - The key/value combination of a tag assigned to
67             the resource.
68              
69             =item *
70              
71             C<tag-key> - The key of a tag assigned to the resource. This filter is
72             independent of the C<tag-value> filter. For example, if you use both
73             the filter "tag-key=Purpose" and the filter "tag-value=X", you get any
74             resources assigned both the tag key Purpose (regardless of what the
75             tag's value is), and the tag value X (regardless of what the tag's key
76             is). If you want to list only resources where Purpose is X, see the
77             C<tag>:I<key>=I<value> filter.
78              
79             =item *
80              
81             C<tag-value> - The value of a tag assigned to the resource. This filter
82             is independent of the C<tag-key> filter.
83              
84             =item *
85              
86             C<vpc-id> - The ID of the VPC that the instance is linked to.
87              
88             =back
89              
90              
91              
92              
93             =head2 InstanceIds => ArrayRef[Str|Undef]
94              
95             One or more instance IDs. Must be instances linked to a VPC through
96             ClassicLink.
97              
98              
99              
100             =head2 MaxResults => Int
101              
102             The maximum number of results to return for the request in a single
103             page. The remaining results of the initial request can be seen by
104             sending another request with the returned C<NextToken> value. This
105             value can be between 5 and 1000; if C<MaxResults> is given a value
106             larger than 1000, only 1000 results are returned. You cannot specify
107             this parameter and the instance IDs parameter in the same request.
108              
109             Constraint: If the value is greater than 1000, we return only 1000
110             items.
111              
112              
113              
114             =head2 NextToken => Str
115              
116             The token to retrieve the next page of results.
117              
118              
119              
120              
121             =head1 SEE ALSO
122              
123             This class forms part of L<Paws>, documenting arguments for method DescribeClassicLinkInstances in L<Paws::EC2>
124              
125             =head1 BUGS and CONTRIBUTIONS
126              
127             The source code is located here: https://github.com/pplu/aws-sdk-perl
128              
129             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
130              
131             =cut
132