File Coverage

blib/lib/Paws/CognitoIdentity/GetId.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::CognitoIdentity::GetId;
3 1     1   585 use Moose;
  1         5  
  1         7  
4             has AccountId => (is => 'ro', isa => 'Str');
5             has IdentityPoolId => (is => 'ro', isa => 'Str', required => 1);
6             has Logins => (is => 'ro', isa => 'Paws::CognitoIdentity::LoginsMap');
7              
8 1     1   7361 use MooseX::ClassAttribute;
  1         5  
  1         12  
9              
10             class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetId');
11             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CognitoIdentity::GetIdResponse');
12             class_has _result_key => (isa => 'Str', is => 'ro');
13             1;
14              
15             ### main pod documentation begin ###
16              
17             =head1 NAME
18              
19             Paws::CognitoIdentity::GetId - Arguments for method GetId on Paws::CognitoIdentity
20              
21             =head1 DESCRIPTION
22              
23             This class represents the parameters used for calling the method GetId on the
24             Amazon Cognito Identity service. Use the attributes of this class
25             as arguments to method GetId.
26              
27             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetId.
28              
29             As an example:
30              
31             $service_obj->GetId(Att1 => $value1, Att2 => $value2, ...);
32              
33             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.
34              
35             =head1 ATTRIBUTES
36              
37              
38             =head2 AccountId => Str
39              
40             A standard AWS account ID (9+ digits).
41              
42              
43              
44             =head2 B<REQUIRED> IdentityPoolId => Str
45              
46             An identity pool ID in the format REGION:GUID.
47              
48              
49              
50             =head2 Logins => L<Paws::CognitoIdentity::LoginsMap>
51              
52             A set of optional name-value pairs that map provider names to provider
53             tokens. The available provider names for C<Logins> are as follows:
54              
55             =over
56              
57             =item *
58              
59             Facebook: C<graph.facebook.com>
60              
61             =item *
62              
63             Amazon Cognito Identity Provider:
64             C<cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789>
65              
66             =item *
67              
68             Google: C<accounts.google.com>
69              
70             =item *
71              
72             Amazon: C<www.amazon.com>
73              
74             =item *
75              
76             Twitter: C<api.twitter.com>
77              
78             =item *
79              
80             Digits: C<www.digits.com>
81              
82             =back
83              
84              
85              
86              
87              
88             =head1 SEE ALSO
89              
90             This class forms part of L<Paws>, documenting arguments for method GetId in L<Paws::CognitoIdentity>
91              
92             =head1 BUGS and CONTRIBUTIONS
93              
94             The source code is located here: https://github.com/pplu/aws-sdk-perl
95              
96             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
97              
98             =cut
99