blib/lib/Paws/EC2/DescribeIamInstanceProfileAssociations.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::EC2::DescribeIamInstanceProfileAssociations;
3 use Moose;
4 has AssociationIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'AssociationId' );
5 has Filters => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Filter]', traits => ['NameInRequest'], request_name => 'Filter' );
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 => 'DescribeIamInstanceProfileAssociations');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::DescribeIamInstanceProfileAssociationsResult');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::EC2::DescribeIamInstanceProfileAssociations - Arguments for method DescribeIamInstanceProfileAssociations on L<Paws::EC2>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method DescribeIamInstanceProfileAssociations on the
25 L<Amazon Elastic Compute Cloud|Paws::EC2> service. Use the attributes of this class
26 as arguments to method DescribeIamInstanceProfileAssociations.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeIamInstanceProfileAssociations.
29  
30 =head1 SYNOPSIS
31  
32 my $ec2 = Paws->service('EC2');
33 # To describe an IAM instance profile association
34 # This example describes the specified IAM instance profile association.
35 my $DescribeIamInstanceProfileAssociationsResult =
36 $ec2->DescribeIamInstanceProfileAssociations(
37 'AssociationIds' => ['iip-assoc-0db249b1f25fa24b8'] );
38  
39 # Results:
40 my $IamInstanceProfileAssociations =
41 $DescribeIamInstanceProfileAssociationsResult
42 ->IamInstanceProfileAssociations;
43  
44 # Returns a L<Paws::EC2::DescribeIamInstanceProfileAssociationsResult> object.
45  
46 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.
47 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ec2/DescribeIamInstanceProfileAssociations>
48  
49 =head1 ATTRIBUTES
50  
51  
52 =head2 AssociationIds => ArrayRef[Str|Undef]
53  
54 The IAM instance profile associations.
55  
56  
57  
58 =head2 Filters => ArrayRef[L<Paws::EC2::Filter>]
59  
60 The filters.
61  
62 =over
63  
64 =item *
65  
66 C<instance-id> - The ID of the instance.
67  
68 =item *
69  
70 C<state> - The state of the association (C<associating> | C<associated>
71 | C<disassociating>).
72  
73 =back
74  
75  
76  
77  
78 =head2 MaxResults => Int
79  
80 The maximum number of results to return in a single call. To retrieve
81 the remaining results, make another call with the returned C<NextToken>
82 value.
83  
84  
85  
86 =head2 NextToken => Str
87  
88 The token to request the next page of results.
89  
90  
91  
92  
93 =head1 SEE ALSO
94  
95 This class forms part of L<Paws>, documenting arguments for method DescribeIamInstanceProfileAssociations in L<Paws::EC2>
96  
97 =head1 BUGS and CONTRIBUTIONS
98  
99 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
100  
101 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
102  
103 =cut
104