File Coverage

blib/lib/Paws/DataPipeline/InstanceIdentity.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::DataPipeline::InstanceIdentity;
2 1     1   449 use Moose;
  1         3  
  1         8  
3             has Document => (is => 'ro', isa => 'Str', request_name => 'document', traits => ['NameInRequest']);
4             has Signature => (is => 'ro', isa => 'Str', request_name => 'signature', traits => ['NameInRequest']);
5             1;
6              
7             ### main pod documentation begin ###
8              
9             =head1 NAME
10              
11             Paws::DataPipeline::InstanceIdentity
12              
13             =head1 USAGE
14              
15             This class represents one of two things:
16              
17             =head3 Arguments in a call to a service
18              
19             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
20             Each attribute should be used as a named argument in the calls that expect this type of object.
21              
22             As an example, if Att1 is expected to be a Paws::DataPipeline::InstanceIdentity object:
23              
24             $service_obj->Method(Att1 => { Document => $value, ..., Signature => $value });
25              
26             =head3 Results returned from an API call
27              
28             Use accessors for each attribute. If Att1 is expected to be an Paws::DataPipeline::InstanceIdentity object:
29              
30             $result = $service_obj->Method(...);
31             $result->Att1->Document
32              
33             =head1 DESCRIPTION
34              
35             Identity information for the EC2 instance that is hosting the task
36             runner. You can get this value by calling a metadata URI from the EC2
37             instance. For more information, see Instance Metadata in the I<Amazon
38             Elastic Compute Cloud User Guide.> Passing in this value proves that
39             your task runner is running on an EC2 instance, and ensures the proper
40             AWS Data Pipeline service charges are applied to your pipeline.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 Document => Str
46              
47             A description of an EC2 instance that is generated when the instance is
48             launched and exposed to the instance via the instance metadata service
49             in the form of a JSON representation of an object.
50              
51              
52             =head2 Signature => Str
53              
54             A signature which can be used to verify the accuracy and authenticity
55             of the information provided in the instance identity document.
56              
57              
58              
59             =head1 SEE ALSO
60              
61             This class forms part of L<Paws>, describing an object used in L<Paws::DataPipeline>
62              
63             =head1 BUGS and CONTRIBUTIONS
64              
65             The source code is located here: https://github.com/pplu/aws-sdk-perl
66              
67             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
68              
69             =cut
70