aws-sdk-cognitoidentity 1.0.0.rc1 → 1.0.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-cognitoidentity.rb +1 -1
- data/lib/aws-sdk-cognitoidentity/client.rb +1062 -881
- data/lib/aws-sdk-cognitoidentity/client_api.rb +572 -543
- data/lib/aws-sdk-cognitoidentity/errors.rb +4 -13
- data/lib/aws-sdk-cognitoidentity/resource.rb +12 -14
- data/lib/aws-sdk-cognitoidentity/types.rb +1087 -843
- metadata +2 -2
@@ -1,554 +1,583 @@
|
|
1
1
|
# WARNING ABOUT GENERATED CODE
|
2
2
|
#
|
3
|
-
# This file is generated. See the contributing for
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
4
|
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
5
|
#
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
|
-
module Aws
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
8
|
+
module Aws::CognitoIdentity
|
9
|
+
# @api private
|
10
|
+
module ClientApi
|
11
|
+
|
12
|
+
include Seahorse::Model
|
13
|
+
|
14
|
+
ARNString = Shapes::StringShape.new(name: 'ARNString')
|
15
|
+
AccessKeyString = Shapes::StringShape.new(name: 'AccessKeyString')
|
16
|
+
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
17
|
+
AmbiguousRoleResolutionType = Shapes::StringShape.new(name: 'AmbiguousRoleResolutionType')
|
18
|
+
ClaimName = Shapes::StringShape.new(name: 'ClaimName')
|
19
|
+
ClaimValue = Shapes::StringShape.new(name: 'ClaimValue')
|
20
|
+
CognitoIdentityProvider = Shapes::StructureShape.new(name: 'CognitoIdentityProvider')
|
21
|
+
CognitoIdentityProviderClientId = Shapes::StringShape.new(name: 'CognitoIdentityProviderClientId')
|
22
|
+
CognitoIdentityProviderList = Shapes::ListShape.new(name: 'CognitoIdentityProviderList')
|
23
|
+
CognitoIdentityProviderName = Shapes::StringShape.new(name: 'CognitoIdentityProviderName')
|
24
|
+
ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
|
25
|
+
CreateIdentityPoolInput = Shapes::StructureShape.new(name: 'CreateIdentityPoolInput')
|
26
|
+
Credentials = Shapes::StructureShape.new(name: 'Credentials')
|
27
|
+
DateType = Shapes::TimestampShape.new(name: 'DateType')
|
28
|
+
DeleteIdentitiesInput = Shapes::StructureShape.new(name: 'DeleteIdentitiesInput')
|
29
|
+
DeleteIdentitiesResponse = Shapes::StructureShape.new(name: 'DeleteIdentitiesResponse')
|
30
|
+
DeleteIdentityPoolInput = Shapes::StructureShape.new(name: 'DeleteIdentityPoolInput')
|
31
|
+
DescribeIdentityInput = Shapes::StructureShape.new(name: 'DescribeIdentityInput')
|
32
|
+
DescribeIdentityPoolInput = Shapes::StructureShape.new(name: 'DescribeIdentityPoolInput')
|
33
|
+
DeveloperProviderName = Shapes::StringShape.new(name: 'DeveloperProviderName')
|
34
|
+
DeveloperUserAlreadyRegisteredException = Shapes::StructureShape.new(name: 'DeveloperUserAlreadyRegisteredException')
|
35
|
+
DeveloperUserIdentifier = Shapes::StringShape.new(name: 'DeveloperUserIdentifier')
|
36
|
+
DeveloperUserIdentifierList = Shapes::ListShape.new(name: 'DeveloperUserIdentifierList')
|
37
|
+
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
38
|
+
ExternalServiceException = Shapes::StructureShape.new(name: 'ExternalServiceException')
|
39
|
+
GetCredentialsForIdentityInput = Shapes::StructureShape.new(name: 'GetCredentialsForIdentityInput')
|
40
|
+
GetCredentialsForIdentityResponse = Shapes::StructureShape.new(name: 'GetCredentialsForIdentityResponse')
|
41
|
+
GetIdInput = Shapes::StructureShape.new(name: 'GetIdInput')
|
42
|
+
GetIdResponse = Shapes::StructureShape.new(name: 'GetIdResponse')
|
43
|
+
GetIdentityPoolRolesInput = Shapes::StructureShape.new(name: 'GetIdentityPoolRolesInput')
|
44
|
+
GetIdentityPoolRolesResponse = Shapes::StructureShape.new(name: 'GetIdentityPoolRolesResponse')
|
45
|
+
GetOpenIdTokenForDeveloperIdentityInput = Shapes::StructureShape.new(name: 'GetOpenIdTokenForDeveloperIdentityInput')
|
46
|
+
GetOpenIdTokenForDeveloperIdentityResponse = Shapes::StructureShape.new(name: 'GetOpenIdTokenForDeveloperIdentityResponse')
|
47
|
+
GetOpenIdTokenInput = Shapes::StructureShape.new(name: 'GetOpenIdTokenInput')
|
48
|
+
GetOpenIdTokenResponse = Shapes::StructureShape.new(name: 'GetOpenIdTokenResponse')
|
49
|
+
HideDisabled = Shapes::BooleanShape.new(name: 'HideDisabled')
|
50
|
+
IdentitiesList = Shapes::ListShape.new(name: 'IdentitiesList')
|
51
|
+
IdentityDescription = Shapes::StructureShape.new(name: 'IdentityDescription')
|
52
|
+
IdentityId = Shapes::StringShape.new(name: 'IdentityId')
|
53
|
+
IdentityIdList = Shapes::ListShape.new(name: 'IdentityIdList')
|
54
|
+
IdentityPool = Shapes::StructureShape.new(name: 'IdentityPool')
|
55
|
+
IdentityPoolId = Shapes::StringShape.new(name: 'IdentityPoolId')
|
56
|
+
IdentityPoolName = Shapes::StringShape.new(name: 'IdentityPoolName')
|
57
|
+
IdentityPoolShortDescription = Shapes::StructureShape.new(name: 'IdentityPoolShortDescription')
|
58
|
+
IdentityPoolUnauthenticated = Shapes::BooleanShape.new(name: 'IdentityPoolUnauthenticated')
|
59
|
+
IdentityPoolsList = Shapes::ListShape.new(name: 'IdentityPoolsList')
|
60
|
+
IdentityProviderId = Shapes::StringShape.new(name: 'IdentityProviderId')
|
61
|
+
IdentityProviderName = Shapes::StringShape.new(name: 'IdentityProviderName')
|
62
|
+
IdentityProviderToken = Shapes::StringShape.new(name: 'IdentityProviderToken')
|
63
|
+
IdentityProviders = Shapes::MapShape.new(name: 'IdentityProviders')
|
64
|
+
InternalErrorException = Shapes::StructureShape.new(name: 'InternalErrorException')
|
65
|
+
InvalidIdentityPoolConfigurationException = Shapes::StructureShape.new(name: 'InvalidIdentityPoolConfigurationException')
|
66
|
+
InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
|
67
|
+
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
68
|
+
ListIdentitiesInput = Shapes::StructureShape.new(name: 'ListIdentitiesInput')
|
69
|
+
ListIdentitiesResponse = Shapes::StructureShape.new(name: 'ListIdentitiesResponse')
|
70
|
+
ListIdentityPoolsInput = Shapes::StructureShape.new(name: 'ListIdentityPoolsInput')
|
71
|
+
ListIdentityPoolsResponse = Shapes::StructureShape.new(name: 'ListIdentityPoolsResponse')
|
72
|
+
LoginsList = Shapes::ListShape.new(name: 'LoginsList')
|
73
|
+
LoginsMap = Shapes::MapShape.new(name: 'LoginsMap')
|
74
|
+
LookupDeveloperIdentityInput = Shapes::StructureShape.new(name: 'LookupDeveloperIdentityInput')
|
75
|
+
LookupDeveloperIdentityResponse = Shapes::StructureShape.new(name: 'LookupDeveloperIdentityResponse')
|
76
|
+
MappingRule = Shapes::StructureShape.new(name: 'MappingRule')
|
77
|
+
MappingRuleMatchType = Shapes::StringShape.new(name: 'MappingRuleMatchType')
|
78
|
+
MappingRulesList = Shapes::ListShape.new(name: 'MappingRulesList')
|
79
|
+
MergeDeveloperIdentitiesInput = Shapes::StructureShape.new(name: 'MergeDeveloperIdentitiesInput')
|
80
|
+
MergeDeveloperIdentitiesResponse = Shapes::StructureShape.new(name: 'MergeDeveloperIdentitiesResponse')
|
81
|
+
NotAuthorizedException = Shapes::StructureShape.new(name: 'NotAuthorizedException')
|
82
|
+
OIDCProviderList = Shapes::ListShape.new(name: 'OIDCProviderList')
|
83
|
+
OIDCToken = Shapes::StringShape.new(name: 'OIDCToken')
|
84
|
+
PaginationKey = Shapes::StringShape.new(name: 'PaginationKey')
|
85
|
+
QueryLimit = Shapes::IntegerShape.new(name: 'QueryLimit')
|
86
|
+
ResourceConflictException = Shapes::StructureShape.new(name: 'ResourceConflictException')
|
87
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
88
|
+
RoleMapping = Shapes::StructureShape.new(name: 'RoleMapping')
|
89
|
+
RoleMappingMap = Shapes::MapShape.new(name: 'RoleMappingMap')
|
90
|
+
RoleMappingType = Shapes::StringShape.new(name: 'RoleMappingType')
|
91
|
+
RoleType = Shapes::StringShape.new(name: 'RoleType')
|
92
|
+
RolesMap = Shapes::MapShape.new(name: 'RolesMap')
|
93
|
+
RulesConfigurationType = Shapes::StructureShape.new(name: 'RulesConfigurationType')
|
94
|
+
SAMLProviderList = Shapes::ListShape.new(name: 'SAMLProviderList')
|
95
|
+
SecretKeyString = Shapes::StringShape.new(name: 'SecretKeyString')
|
96
|
+
SessionTokenString = Shapes::StringShape.new(name: 'SessionTokenString')
|
97
|
+
SetIdentityPoolRolesInput = Shapes::StructureShape.new(name: 'SetIdentityPoolRolesInput')
|
98
|
+
String = Shapes::StringShape.new(name: 'String')
|
99
|
+
TokenDuration = Shapes::IntegerShape.new(name: 'TokenDuration')
|
100
|
+
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
101
|
+
UnlinkDeveloperIdentityInput = Shapes::StructureShape.new(name: 'UnlinkDeveloperIdentityInput')
|
102
|
+
UnlinkIdentityInput = Shapes::StructureShape.new(name: 'UnlinkIdentityInput')
|
103
|
+
UnprocessedIdentityId = Shapes::StructureShape.new(name: 'UnprocessedIdentityId')
|
104
|
+
UnprocessedIdentityIdList = Shapes::ListShape.new(name: 'UnprocessedIdentityIdList')
|
105
|
+
|
106
|
+
CognitoIdentityProvider.add_member(:provider_name, Shapes::ShapeRef.new(shape: CognitoIdentityProviderName, location_name: "ProviderName"))
|
107
|
+
CognitoIdentityProvider.add_member(:client_id, Shapes::ShapeRef.new(shape: CognitoIdentityProviderClientId, location_name: "ClientId"))
|
108
|
+
CognitoIdentityProvider.struct_class = Types::CognitoIdentityProvider
|
109
|
+
|
110
|
+
CognitoIdentityProviderList.member = Shapes::ShapeRef.new(shape: CognitoIdentityProvider)
|
111
|
+
|
112
|
+
CreateIdentityPoolInput.add_member(:identity_pool_name, Shapes::ShapeRef.new(shape: IdentityPoolName, required: true, location_name: "IdentityPoolName"))
|
113
|
+
CreateIdentityPoolInput.add_member(:allow_unauthenticated_identities, Shapes::ShapeRef.new(shape: IdentityPoolUnauthenticated, required: true, location_name: "AllowUnauthenticatedIdentities"))
|
114
|
+
CreateIdentityPoolInput.add_member(:supported_login_providers, Shapes::ShapeRef.new(shape: IdentityProviders, location_name: "SupportedLoginProviders"))
|
115
|
+
CreateIdentityPoolInput.add_member(:developer_provider_name, Shapes::ShapeRef.new(shape: DeveloperProviderName, location_name: "DeveloperProviderName"))
|
116
|
+
CreateIdentityPoolInput.add_member(:open_id_connect_provider_arns, Shapes::ShapeRef.new(shape: OIDCProviderList, location_name: "OpenIdConnectProviderARNs"))
|
117
|
+
CreateIdentityPoolInput.add_member(:cognito_identity_providers, Shapes::ShapeRef.new(shape: CognitoIdentityProviderList, location_name: "CognitoIdentityProviders"))
|
118
|
+
CreateIdentityPoolInput.add_member(:saml_provider_arns, Shapes::ShapeRef.new(shape: SAMLProviderList, location_name: "SamlProviderARNs"))
|
119
|
+
CreateIdentityPoolInput.struct_class = Types::CreateIdentityPoolInput
|
120
|
+
|
121
|
+
Credentials.add_member(:access_key_id, Shapes::ShapeRef.new(shape: AccessKeyString, location_name: "AccessKeyId"))
|
122
|
+
Credentials.add_member(:secret_key, Shapes::ShapeRef.new(shape: SecretKeyString, location_name: "SecretKey"))
|
123
|
+
Credentials.add_member(:session_token, Shapes::ShapeRef.new(shape: SessionTokenString, location_name: "SessionToken"))
|
124
|
+
Credentials.add_member(:expiration, Shapes::ShapeRef.new(shape: DateType, location_name: "Expiration"))
|
125
|
+
Credentials.struct_class = Types::Credentials
|
126
|
+
|
127
|
+
DeleteIdentitiesInput.add_member(:identity_ids_to_delete, Shapes::ShapeRef.new(shape: IdentityIdList, required: true, location_name: "IdentityIdsToDelete"))
|
128
|
+
DeleteIdentitiesInput.struct_class = Types::DeleteIdentitiesInput
|
129
|
+
|
130
|
+
DeleteIdentitiesResponse.add_member(:unprocessed_identity_ids, Shapes::ShapeRef.new(shape: UnprocessedIdentityIdList, location_name: "UnprocessedIdentityIds"))
|
131
|
+
DeleteIdentitiesResponse.struct_class = Types::DeleteIdentitiesResponse
|
132
|
+
|
133
|
+
DeleteIdentityPoolInput.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, required: true, location_name: "IdentityPoolId"))
|
134
|
+
DeleteIdentityPoolInput.struct_class = Types::DeleteIdentityPoolInput
|
135
|
+
|
136
|
+
DescribeIdentityInput.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, required: true, location_name: "IdentityId"))
|
137
|
+
DescribeIdentityInput.struct_class = Types::DescribeIdentityInput
|
138
|
+
|
139
|
+
DescribeIdentityPoolInput.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, required: true, location_name: "IdentityPoolId"))
|
140
|
+
DescribeIdentityPoolInput.struct_class = Types::DescribeIdentityPoolInput
|
141
|
+
|
142
|
+
DeveloperUserIdentifierList.member = Shapes::ShapeRef.new(shape: DeveloperUserIdentifier)
|
143
|
+
|
144
|
+
GetCredentialsForIdentityInput.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, required: true, location_name: "IdentityId"))
|
145
|
+
GetCredentialsForIdentityInput.add_member(:logins, Shapes::ShapeRef.new(shape: LoginsMap, location_name: "Logins"))
|
146
|
+
GetCredentialsForIdentityInput.add_member(:custom_role_arn, Shapes::ShapeRef.new(shape: ARNString, location_name: "CustomRoleArn"))
|
147
|
+
GetCredentialsForIdentityInput.struct_class = Types::GetCredentialsForIdentityInput
|
148
|
+
|
149
|
+
GetCredentialsForIdentityResponse.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, location_name: "IdentityId"))
|
150
|
+
GetCredentialsForIdentityResponse.add_member(:credentials, Shapes::ShapeRef.new(shape: Credentials, location_name: "Credentials"))
|
151
|
+
GetCredentialsForIdentityResponse.struct_class = Types::GetCredentialsForIdentityResponse
|
152
|
+
|
153
|
+
GetIdInput.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
154
|
+
GetIdInput.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, required: true, location_name: "IdentityPoolId"))
|
155
|
+
GetIdInput.add_member(:logins, Shapes::ShapeRef.new(shape: LoginsMap, location_name: "Logins"))
|
156
|
+
GetIdInput.struct_class = Types::GetIdInput
|
157
|
+
|
158
|
+
GetIdResponse.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, location_name: "IdentityId"))
|
159
|
+
GetIdResponse.struct_class = Types::GetIdResponse
|
160
|
+
|
161
|
+
GetIdentityPoolRolesInput.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, required: true, location_name: "IdentityPoolId"))
|
162
|
+
GetIdentityPoolRolesInput.struct_class = Types::GetIdentityPoolRolesInput
|
163
|
+
|
164
|
+
GetIdentityPoolRolesResponse.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, location_name: "IdentityPoolId"))
|
165
|
+
GetIdentityPoolRolesResponse.add_member(:roles, Shapes::ShapeRef.new(shape: RolesMap, location_name: "Roles"))
|
166
|
+
GetIdentityPoolRolesResponse.add_member(:role_mappings, Shapes::ShapeRef.new(shape: RoleMappingMap, location_name: "RoleMappings"))
|
167
|
+
GetIdentityPoolRolesResponse.struct_class = Types::GetIdentityPoolRolesResponse
|
168
|
+
|
169
|
+
GetOpenIdTokenForDeveloperIdentityInput.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, required: true, location_name: "IdentityPoolId"))
|
170
|
+
GetOpenIdTokenForDeveloperIdentityInput.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, location_name: "IdentityId"))
|
171
|
+
GetOpenIdTokenForDeveloperIdentityInput.add_member(:logins, Shapes::ShapeRef.new(shape: LoginsMap, required: true, location_name: "Logins"))
|
172
|
+
GetOpenIdTokenForDeveloperIdentityInput.add_member(:token_duration, Shapes::ShapeRef.new(shape: TokenDuration, location_name: "TokenDuration"))
|
173
|
+
GetOpenIdTokenForDeveloperIdentityInput.struct_class = Types::GetOpenIdTokenForDeveloperIdentityInput
|
174
|
+
|
175
|
+
GetOpenIdTokenForDeveloperIdentityResponse.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, location_name: "IdentityId"))
|
176
|
+
GetOpenIdTokenForDeveloperIdentityResponse.add_member(:token, Shapes::ShapeRef.new(shape: OIDCToken, location_name: "Token"))
|
177
|
+
GetOpenIdTokenForDeveloperIdentityResponse.struct_class = Types::GetOpenIdTokenForDeveloperIdentityResponse
|
178
|
+
|
179
|
+
GetOpenIdTokenInput.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, required: true, location_name: "IdentityId"))
|
180
|
+
GetOpenIdTokenInput.add_member(:logins, Shapes::ShapeRef.new(shape: LoginsMap, location_name: "Logins"))
|
181
|
+
GetOpenIdTokenInput.struct_class = Types::GetOpenIdTokenInput
|
182
|
+
|
183
|
+
GetOpenIdTokenResponse.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, location_name: "IdentityId"))
|
184
|
+
GetOpenIdTokenResponse.add_member(:token, Shapes::ShapeRef.new(shape: OIDCToken, location_name: "Token"))
|
185
|
+
GetOpenIdTokenResponse.struct_class = Types::GetOpenIdTokenResponse
|
186
|
+
|
187
|
+
IdentitiesList.member = Shapes::ShapeRef.new(shape: IdentityDescription)
|
188
|
+
|
189
|
+
IdentityDescription.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, location_name: "IdentityId"))
|
190
|
+
IdentityDescription.add_member(:logins, Shapes::ShapeRef.new(shape: LoginsList, location_name: "Logins"))
|
191
|
+
IdentityDescription.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "CreationDate"))
|
192
|
+
IdentityDescription.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateType, location_name: "LastModifiedDate"))
|
193
|
+
IdentityDescription.struct_class = Types::IdentityDescription
|
194
|
+
|
195
|
+
IdentityIdList.member = Shapes::ShapeRef.new(shape: IdentityId)
|
196
|
+
|
197
|
+
IdentityPool.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, required: true, location_name: "IdentityPoolId"))
|
198
|
+
IdentityPool.add_member(:identity_pool_name, Shapes::ShapeRef.new(shape: IdentityPoolName, required: true, location_name: "IdentityPoolName"))
|
199
|
+
IdentityPool.add_member(:allow_unauthenticated_identities, Shapes::ShapeRef.new(shape: IdentityPoolUnauthenticated, required: true, location_name: "AllowUnauthenticatedIdentities"))
|
200
|
+
IdentityPool.add_member(:supported_login_providers, Shapes::ShapeRef.new(shape: IdentityProviders, location_name: "SupportedLoginProviders"))
|
201
|
+
IdentityPool.add_member(:developer_provider_name, Shapes::ShapeRef.new(shape: DeveloperProviderName, location_name: "DeveloperProviderName"))
|
202
|
+
IdentityPool.add_member(:open_id_connect_provider_arns, Shapes::ShapeRef.new(shape: OIDCProviderList, location_name: "OpenIdConnectProviderARNs"))
|
203
|
+
IdentityPool.add_member(:cognito_identity_providers, Shapes::ShapeRef.new(shape: CognitoIdentityProviderList, location_name: "CognitoIdentityProviders"))
|
204
|
+
IdentityPool.add_member(:saml_provider_arns, Shapes::ShapeRef.new(shape: SAMLProviderList, location_name: "SamlProviderARNs"))
|
205
|
+
IdentityPool.struct_class = Types::IdentityPool
|
206
|
+
|
207
|
+
IdentityPoolShortDescription.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, location_name: "IdentityPoolId"))
|
208
|
+
IdentityPoolShortDescription.add_member(:identity_pool_name, Shapes::ShapeRef.new(shape: IdentityPoolName, location_name: "IdentityPoolName"))
|
209
|
+
IdentityPoolShortDescription.struct_class = Types::IdentityPoolShortDescription
|
210
|
+
|
211
|
+
IdentityPoolsList.member = Shapes::ShapeRef.new(shape: IdentityPoolShortDescription)
|
212
|
+
|
213
|
+
IdentityProviders.key = Shapes::ShapeRef.new(shape: IdentityProviderName)
|
214
|
+
IdentityProviders.value = Shapes::ShapeRef.new(shape: IdentityProviderId)
|
215
|
+
|
216
|
+
ListIdentitiesInput.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, required: true, location_name: "IdentityPoolId"))
|
217
|
+
ListIdentitiesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: QueryLimit, required: true, location_name: "MaxResults"))
|
218
|
+
ListIdentitiesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationKey, location_name: "NextToken"))
|
219
|
+
ListIdentitiesInput.add_member(:hide_disabled, Shapes::ShapeRef.new(shape: HideDisabled, location_name: "HideDisabled"))
|
220
|
+
ListIdentitiesInput.struct_class = Types::ListIdentitiesInput
|
221
|
+
|
222
|
+
ListIdentitiesResponse.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, location_name: "IdentityPoolId"))
|
223
|
+
ListIdentitiesResponse.add_member(:identities, Shapes::ShapeRef.new(shape: IdentitiesList, location_name: "Identities"))
|
224
|
+
ListIdentitiesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationKey, location_name: "NextToken"))
|
225
|
+
ListIdentitiesResponse.struct_class = Types::ListIdentitiesResponse
|
226
|
+
|
227
|
+
ListIdentityPoolsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: QueryLimit, required: true, location_name: "MaxResults"))
|
228
|
+
ListIdentityPoolsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationKey, location_name: "NextToken"))
|
229
|
+
ListIdentityPoolsInput.struct_class = Types::ListIdentityPoolsInput
|
230
|
+
|
231
|
+
ListIdentityPoolsResponse.add_member(:identity_pools, Shapes::ShapeRef.new(shape: IdentityPoolsList, location_name: "IdentityPools"))
|
232
|
+
ListIdentityPoolsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationKey, location_name: "NextToken"))
|
233
|
+
ListIdentityPoolsResponse.struct_class = Types::ListIdentityPoolsResponse
|
234
|
+
|
235
|
+
LoginsList.member = Shapes::ShapeRef.new(shape: IdentityProviderName)
|
236
|
+
|
237
|
+
LoginsMap.key = Shapes::ShapeRef.new(shape: IdentityProviderName)
|
238
|
+
LoginsMap.value = Shapes::ShapeRef.new(shape: IdentityProviderToken)
|
239
|
+
|
240
|
+
LookupDeveloperIdentityInput.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, required: true, location_name: "IdentityPoolId"))
|
241
|
+
LookupDeveloperIdentityInput.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, location_name: "IdentityId"))
|
242
|
+
LookupDeveloperIdentityInput.add_member(:developer_user_identifier, Shapes::ShapeRef.new(shape: DeveloperUserIdentifier, location_name: "DeveloperUserIdentifier"))
|
243
|
+
LookupDeveloperIdentityInput.add_member(:max_results, Shapes::ShapeRef.new(shape: QueryLimit, location_name: "MaxResults"))
|
244
|
+
LookupDeveloperIdentityInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationKey, location_name: "NextToken"))
|
245
|
+
LookupDeveloperIdentityInput.struct_class = Types::LookupDeveloperIdentityInput
|
246
|
+
|
247
|
+
LookupDeveloperIdentityResponse.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, location_name: "IdentityId"))
|
248
|
+
LookupDeveloperIdentityResponse.add_member(:developer_user_identifier_list, Shapes::ShapeRef.new(shape: DeveloperUserIdentifierList, location_name: "DeveloperUserIdentifierList"))
|
249
|
+
LookupDeveloperIdentityResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationKey, location_name: "NextToken"))
|
250
|
+
LookupDeveloperIdentityResponse.struct_class = Types::LookupDeveloperIdentityResponse
|
251
|
+
|
252
|
+
MappingRule.add_member(:claim, Shapes::ShapeRef.new(shape: ClaimName, required: true, location_name: "Claim"))
|
253
|
+
MappingRule.add_member(:match_type, Shapes::ShapeRef.new(shape: MappingRuleMatchType, required: true, location_name: "MatchType"))
|
254
|
+
MappingRule.add_member(:value, Shapes::ShapeRef.new(shape: ClaimValue, required: true, location_name: "Value"))
|
255
|
+
MappingRule.add_member(:role_arn, Shapes::ShapeRef.new(shape: ARNString, required: true, location_name: "RoleARN"))
|
256
|
+
MappingRule.struct_class = Types::MappingRule
|
257
|
+
|
258
|
+
MappingRulesList.member = Shapes::ShapeRef.new(shape: MappingRule)
|
259
|
+
|
260
|
+
MergeDeveloperIdentitiesInput.add_member(:source_user_identifier, Shapes::ShapeRef.new(shape: DeveloperUserIdentifier, required: true, location_name: "SourceUserIdentifier"))
|
261
|
+
MergeDeveloperIdentitiesInput.add_member(:destination_user_identifier, Shapes::ShapeRef.new(shape: DeveloperUserIdentifier, required: true, location_name: "DestinationUserIdentifier"))
|
262
|
+
MergeDeveloperIdentitiesInput.add_member(:developer_provider_name, Shapes::ShapeRef.new(shape: DeveloperProviderName, required: true, location_name: "DeveloperProviderName"))
|
263
|
+
MergeDeveloperIdentitiesInput.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, required: true, location_name: "IdentityPoolId"))
|
264
|
+
MergeDeveloperIdentitiesInput.struct_class = Types::MergeDeveloperIdentitiesInput
|
196
265
|
|
197
|
-
|
198
|
-
|
199
|
-
IdentityPoolShortDescription.struct_class = Types::IdentityPoolShortDescription
|
200
|
-
|
201
|
-
IdentityPoolsList.member = Shapes::ShapeRef.new(shape: IdentityPoolShortDescription)
|
202
|
-
|
203
|
-
IdentityProviders.key = Shapes::ShapeRef.new(shape: IdentityProviderName)
|
204
|
-
IdentityProviders.value = Shapes::ShapeRef.new(shape: IdentityProviderId)
|
205
|
-
|
206
|
-
ListIdentitiesInput.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, required: true, location_name: "IdentityPoolId"))
|
207
|
-
ListIdentitiesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: QueryLimit, required: true, location_name: "MaxResults"))
|
208
|
-
ListIdentitiesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationKey, location_name: "NextToken"))
|
209
|
-
ListIdentitiesInput.add_member(:hide_disabled, Shapes::ShapeRef.new(shape: HideDisabled, location_name: "HideDisabled"))
|
210
|
-
ListIdentitiesInput.struct_class = Types::ListIdentitiesInput
|
211
|
-
|
212
|
-
ListIdentitiesResponse.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, location_name: "IdentityPoolId"))
|
213
|
-
ListIdentitiesResponse.add_member(:identities, Shapes::ShapeRef.new(shape: IdentitiesList, location_name: "Identities"))
|
214
|
-
ListIdentitiesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationKey, location_name: "NextToken"))
|
215
|
-
ListIdentitiesResponse.struct_class = Types::ListIdentitiesResponse
|
216
|
-
|
217
|
-
ListIdentityPoolsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: QueryLimit, required: true, location_name: "MaxResults"))
|
218
|
-
ListIdentityPoolsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationKey, location_name: "NextToken"))
|
219
|
-
ListIdentityPoolsInput.struct_class = Types::ListIdentityPoolsInput
|
220
|
-
|
221
|
-
ListIdentityPoolsResponse.add_member(:identity_pools, Shapes::ShapeRef.new(shape: IdentityPoolsList, location_name: "IdentityPools"))
|
222
|
-
ListIdentityPoolsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationKey, location_name: "NextToken"))
|
223
|
-
ListIdentityPoolsResponse.struct_class = Types::ListIdentityPoolsResponse
|
224
|
-
|
225
|
-
LoginsList.member = Shapes::ShapeRef.new(shape: IdentityProviderName)
|
226
|
-
|
227
|
-
LoginsMap.key = Shapes::ShapeRef.new(shape: IdentityProviderName)
|
228
|
-
LoginsMap.value = Shapes::ShapeRef.new(shape: IdentityProviderToken)
|
229
|
-
|
230
|
-
LookupDeveloperIdentityInput.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, required: true, location_name: "IdentityPoolId"))
|
231
|
-
LookupDeveloperIdentityInput.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, location_name: "IdentityId"))
|
232
|
-
LookupDeveloperIdentityInput.add_member(:developer_user_identifier, Shapes::ShapeRef.new(shape: DeveloperUserIdentifier, location_name: "DeveloperUserIdentifier"))
|
233
|
-
LookupDeveloperIdentityInput.add_member(:max_results, Shapes::ShapeRef.new(shape: QueryLimit, location_name: "MaxResults"))
|
234
|
-
LookupDeveloperIdentityInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationKey, location_name: "NextToken"))
|
235
|
-
LookupDeveloperIdentityInput.struct_class = Types::LookupDeveloperIdentityInput
|
236
|
-
|
237
|
-
LookupDeveloperIdentityResponse.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, location_name: "IdentityId"))
|
238
|
-
LookupDeveloperIdentityResponse.add_member(:developer_user_identifier_list, Shapes::ShapeRef.new(shape: DeveloperUserIdentifierList, location_name: "DeveloperUserIdentifierList"))
|
239
|
-
LookupDeveloperIdentityResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationKey, location_name: "NextToken"))
|
240
|
-
LookupDeveloperIdentityResponse.struct_class = Types::LookupDeveloperIdentityResponse
|
241
|
-
|
242
|
-
MergeDeveloperIdentitiesInput.add_member(:source_user_identifier, Shapes::ShapeRef.new(shape: DeveloperUserIdentifier, required: true, location_name: "SourceUserIdentifier"))
|
243
|
-
MergeDeveloperIdentitiesInput.add_member(:destination_user_identifier, Shapes::ShapeRef.new(shape: DeveloperUserIdentifier, required: true, location_name: "DestinationUserIdentifier"))
|
244
|
-
MergeDeveloperIdentitiesInput.add_member(:developer_provider_name, Shapes::ShapeRef.new(shape: DeveloperProviderName, required: true, location_name: "DeveloperProviderName"))
|
245
|
-
MergeDeveloperIdentitiesInput.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, required: true, location_name: "IdentityPoolId"))
|
246
|
-
MergeDeveloperIdentitiesInput.struct_class = Types::MergeDeveloperIdentitiesInput
|
247
|
-
|
248
|
-
MergeDeveloperIdentitiesResponse.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, location_name: "IdentityId"))
|
249
|
-
MergeDeveloperIdentitiesResponse.struct_class = Types::MergeDeveloperIdentitiesResponse
|
250
|
-
|
251
|
-
OIDCProviderList.member = Shapes::ShapeRef.new(shape: ARNString)
|
252
|
-
|
253
|
-
RolesMap.key = Shapes::ShapeRef.new(shape: RoleType)
|
254
|
-
RolesMap.value = Shapes::ShapeRef.new(shape: ARNString)
|
255
|
-
|
256
|
-
SAMLProviderList.member = Shapes::ShapeRef.new(shape: ARNString)
|
257
|
-
|
258
|
-
SetIdentityPoolRolesInput.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, required: true, location_name: "IdentityPoolId"))
|
259
|
-
SetIdentityPoolRolesInput.add_member(:roles, Shapes::ShapeRef.new(shape: RolesMap, required: true, location_name: "Roles"))
|
260
|
-
SetIdentityPoolRolesInput.struct_class = Types::SetIdentityPoolRolesInput
|
261
|
-
|
262
|
-
UnlinkDeveloperIdentityInput.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, required: true, location_name: "IdentityId"))
|
263
|
-
UnlinkDeveloperIdentityInput.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, required: true, location_name: "IdentityPoolId"))
|
264
|
-
UnlinkDeveloperIdentityInput.add_member(:developer_provider_name, Shapes::ShapeRef.new(shape: DeveloperProviderName, required: true, location_name: "DeveloperProviderName"))
|
265
|
-
UnlinkDeveloperIdentityInput.add_member(:developer_user_identifier, Shapes::ShapeRef.new(shape: DeveloperUserIdentifier, required: true, location_name: "DeveloperUserIdentifier"))
|
266
|
-
UnlinkDeveloperIdentityInput.struct_class = Types::UnlinkDeveloperIdentityInput
|
267
|
-
|
268
|
-
UnlinkIdentityInput.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, required: true, location_name: "IdentityId"))
|
269
|
-
UnlinkIdentityInput.add_member(:logins, Shapes::ShapeRef.new(shape: LoginsMap, required: true, location_name: "Logins"))
|
270
|
-
UnlinkIdentityInput.add_member(:logins_to_remove, Shapes::ShapeRef.new(shape: LoginsList, required: true, location_name: "LoginsToRemove"))
|
271
|
-
UnlinkIdentityInput.struct_class = Types::UnlinkIdentityInput
|
272
|
-
|
273
|
-
UnprocessedIdentityId.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, location_name: "IdentityId"))
|
274
|
-
UnprocessedIdentityId.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
|
275
|
-
UnprocessedIdentityId.struct_class = Types::UnprocessedIdentityId
|
276
|
-
|
277
|
-
UnprocessedIdentityIdList.member = Shapes::ShapeRef.new(shape: UnprocessedIdentityId)
|
278
|
-
|
279
|
-
|
280
|
-
# @api private
|
281
|
-
API = Seahorse::Model::Api.new.tap do |api|
|
282
|
-
|
283
|
-
api.version = "2014-06-30"
|
284
|
-
|
285
|
-
api.metadata = {
|
286
|
-
"endpointPrefix" => "cognito-identity",
|
287
|
-
"jsonVersion" => "1.1",
|
288
|
-
"protocol" => "json",
|
289
|
-
"serviceFullName" => "Amazon Cognito Identity",
|
290
|
-
"signatureVersion" => "v4",
|
291
|
-
"targetPrefix" => "AWSCognitoIdentityService",
|
292
|
-
}
|
293
|
-
|
294
|
-
api.add_operation(:create_identity_pool, Seahorse::Model::Operation.new.tap do |o|
|
295
|
-
o.name = "CreateIdentityPool"
|
296
|
-
o.http_method = "POST"
|
297
|
-
o.http_request_uri = "/"
|
298
|
-
o.input = Shapes::ShapeRef.new(shape: CreateIdentityPoolInput)
|
299
|
-
o.output = Shapes::ShapeRef.new(shape: IdentityPool)
|
300
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
301
|
-
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
302
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
303
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
304
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
305
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
306
|
-
end)
|
307
|
-
|
308
|
-
api.add_operation(:delete_identities, Seahorse::Model::Operation.new.tap do |o|
|
309
|
-
o.name = "DeleteIdentities"
|
310
|
-
o.http_method = "POST"
|
311
|
-
o.http_request_uri = "/"
|
312
|
-
o.input = Shapes::ShapeRef.new(shape: DeleteIdentitiesInput)
|
313
|
-
o.output = Shapes::ShapeRef.new(shape: DeleteIdentitiesResponse)
|
314
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
315
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
316
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
317
|
-
end)
|
318
|
-
|
319
|
-
api.add_operation(:delete_identity_pool, Seahorse::Model::Operation.new.tap do |o|
|
320
|
-
o.name = "DeleteIdentityPool"
|
321
|
-
o.http_method = "POST"
|
322
|
-
o.http_request_uri = "/"
|
323
|
-
o.input = Shapes::ShapeRef.new(shape: DeleteIdentityPoolInput)
|
324
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
325
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
326
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
327
|
-
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
328
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
329
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
330
|
-
end)
|
331
|
-
|
332
|
-
api.add_operation(:describe_identity, Seahorse::Model::Operation.new.tap do |o|
|
333
|
-
o.name = "DescribeIdentity"
|
334
|
-
o.http_method = "POST"
|
335
|
-
o.http_request_uri = "/"
|
336
|
-
o.input = Shapes::ShapeRef.new(shape: DescribeIdentityInput)
|
337
|
-
o.output = Shapes::ShapeRef.new(shape: IdentityDescription)
|
338
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
339
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
340
|
-
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
341
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
342
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
343
|
-
end)
|
344
|
-
|
345
|
-
api.add_operation(:describe_identity_pool, Seahorse::Model::Operation.new.tap do |o|
|
346
|
-
o.name = "DescribeIdentityPool"
|
347
|
-
o.http_method = "POST"
|
348
|
-
o.http_request_uri = "/"
|
349
|
-
o.input = Shapes::ShapeRef.new(shape: DescribeIdentityPoolInput)
|
350
|
-
o.output = Shapes::ShapeRef.new(shape: IdentityPool)
|
351
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
352
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
353
|
-
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
354
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
355
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
356
|
-
end)
|
357
|
-
|
358
|
-
api.add_operation(:get_credentials_for_identity, Seahorse::Model::Operation.new.tap do |o|
|
359
|
-
o.name = "GetCredentialsForIdentity"
|
360
|
-
o.http_method = "POST"
|
361
|
-
o.http_request_uri = "/"
|
362
|
-
o['authtype'] = "none"
|
363
|
-
o.input = Shapes::ShapeRef.new(shape: GetCredentialsForIdentityInput)
|
364
|
-
o.output = Shapes::ShapeRef.new(shape: GetCredentialsForIdentityResponse)
|
365
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
366
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
367
|
-
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
368
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
369
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
370
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidIdentityPoolConfigurationException)
|
371
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
372
|
-
o.errors << Shapes::ShapeRef.new(shape: ExternalServiceException)
|
373
|
-
end)
|
374
|
-
|
375
|
-
api.add_operation(:get_id, Seahorse::Model::Operation.new.tap do |o|
|
376
|
-
o.name = "GetId"
|
377
|
-
o.http_method = "POST"
|
378
|
-
o.http_request_uri = "/"
|
379
|
-
o['authtype'] = "none"
|
380
|
-
o.input = Shapes::ShapeRef.new(shape: GetIdInput)
|
381
|
-
o.output = Shapes::ShapeRef.new(shape: GetIdResponse)
|
382
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
383
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
384
|
-
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
385
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
386
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
387
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
388
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
389
|
-
o.errors << Shapes::ShapeRef.new(shape: ExternalServiceException)
|
390
|
-
end)
|
391
|
-
|
392
|
-
api.add_operation(:get_identity_pool_roles, Seahorse::Model::Operation.new.tap do |o|
|
393
|
-
o.name = "GetIdentityPoolRoles"
|
394
|
-
o.http_method = "POST"
|
395
|
-
o.http_request_uri = "/"
|
396
|
-
o.input = Shapes::ShapeRef.new(shape: GetIdentityPoolRolesInput)
|
397
|
-
o.output = Shapes::ShapeRef.new(shape: GetIdentityPoolRolesResponse)
|
398
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
399
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
400
|
-
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
401
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
402
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
403
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
404
|
-
end)
|
405
|
-
|
406
|
-
api.add_operation(:get_open_id_token, Seahorse::Model::Operation.new.tap do |o|
|
407
|
-
o.name = "GetOpenIdToken"
|
408
|
-
o.http_method = "POST"
|
409
|
-
o.http_request_uri = "/"
|
410
|
-
o['authtype'] = "none"
|
411
|
-
o.input = Shapes::ShapeRef.new(shape: GetOpenIdTokenInput)
|
412
|
-
o.output = Shapes::ShapeRef.new(shape: GetOpenIdTokenResponse)
|
413
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
414
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
415
|
-
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
416
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
417
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
418
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
419
|
-
o.errors << Shapes::ShapeRef.new(shape: ExternalServiceException)
|
420
|
-
end)
|
421
|
-
|
422
|
-
api.add_operation(:get_open_id_token_for_developer_identity, Seahorse::Model::Operation.new.tap do |o|
|
423
|
-
o.name = "GetOpenIdTokenForDeveloperIdentity"
|
424
|
-
o.http_method = "POST"
|
425
|
-
o.http_request_uri = "/"
|
426
|
-
o.input = Shapes::ShapeRef.new(shape: GetOpenIdTokenForDeveloperIdentityInput)
|
427
|
-
o.output = Shapes::ShapeRef.new(shape: GetOpenIdTokenForDeveloperIdentityResponse)
|
428
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
429
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
430
|
-
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
431
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
432
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
433
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
434
|
-
o.errors << Shapes::ShapeRef.new(shape: DeveloperUserAlreadyRegisteredException)
|
435
|
-
end)
|
436
|
-
|
437
|
-
api.add_operation(:list_identities, Seahorse::Model::Operation.new.tap do |o|
|
438
|
-
o.name = "ListIdentities"
|
439
|
-
o.http_method = "POST"
|
440
|
-
o.http_request_uri = "/"
|
441
|
-
o.input = Shapes::ShapeRef.new(shape: ListIdentitiesInput)
|
442
|
-
o.output = Shapes::ShapeRef.new(shape: ListIdentitiesResponse)
|
443
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
444
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
445
|
-
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
446
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
447
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
448
|
-
end)
|
449
|
-
|
450
|
-
api.add_operation(:list_identity_pools, Seahorse::Model::Operation.new.tap do |o|
|
451
|
-
o.name = "ListIdentityPools"
|
452
|
-
o.http_method = "POST"
|
453
|
-
o.http_request_uri = "/"
|
454
|
-
o.input = Shapes::ShapeRef.new(shape: ListIdentityPoolsInput)
|
455
|
-
o.output = Shapes::ShapeRef.new(shape: ListIdentityPoolsResponse)
|
456
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
457
|
-
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
458
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
459
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
460
|
-
end)
|
461
|
-
|
462
|
-
api.add_operation(:lookup_developer_identity, Seahorse::Model::Operation.new.tap do |o|
|
463
|
-
o.name = "LookupDeveloperIdentity"
|
464
|
-
o.http_method = "POST"
|
465
|
-
o.http_request_uri = "/"
|
466
|
-
o.input = Shapes::ShapeRef.new(shape: LookupDeveloperIdentityInput)
|
467
|
-
o.output = Shapes::ShapeRef.new(shape: LookupDeveloperIdentityResponse)
|
468
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
469
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
470
|
-
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
471
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
472
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
473
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
474
|
-
end)
|
475
|
-
|
476
|
-
api.add_operation(:merge_developer_identities, Seahorse::Model::Operation.new.tap do |o|
|
477
|
-
o.name = "MergeDeveloperIdentities"
|
478
|
-
o.http_method = "POST"
|
479
|
-
o.http_request_uri = "/"
|
480
|
-
o.input = Shapes::ShapeRef.new(shape: MergeDeveloperIdentitiesInput)
|
481
|
-
o.output = Shapes::ShapeRef.new(shape: MergeDeveloperIdentitiesResponse)
|
482
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
483
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
484
|
-
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
485
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
486
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
487
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
488
|
-
end)
|
489
|
-
|
490
|
-
api.add_operation(:set_identity_pool_roles, Seahorse::Model::Operation.new.tap do |o|
|
491
|
-
o.name = "SetIdentityPoolRoles"
|
492
|
-
o.http_method = "POST"
|
493
|
-
o.http_request_uri = "/"
|
494
|
-
o.input = Shapes::ShapeRef.new(shape: SetIdentityPoolRolesInput)
|
495
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
496
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
497
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
498
|
-
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
499
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
500
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
501
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
502
|
-
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
503
|
-
end)
|
504
|
-
|
505
|
-
api.add_operation(:unlink_developer_identity, Seahorse::Model::Operation.new.tap do |o|
|
506
|
-
o.name = "UnlinkDeveloperIdentity"
|
507
|
-
o.http_method = "POST"
|
508
|
-
o.http_request_uri = "/"
|
509
|
-
o.input = Shapes::ShapeRef.new(shape: UnlinkDeveloperIdentityInput)
|
510
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
511
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
512
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
513
|
-
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
514
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
515
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
516
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
517
|
-
end)
|
518
|
-
|
519
|
-
api.add_operation(:unlink_identity, Seahorse::Model::Operation.new.tap do |o|
|
520
|
-
o.name = "UnlinkIdentity"
|
521
|
-
o.http_method = "POST"
|
522
|
-
o.http_request_uri = "/"
|
523
|
-
o['authtype'] = "none"
|
524
|
-
o.input = Shapes::ShapeRef.new(shape: UnlinkIdentityInput)
|
525
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
526
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
527
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
528
|
-
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
529
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
530
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
531
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
532
|
-
o.errors << Shapes::ShapeRef.new(shape: ExternalServiceException)
|
533
|
-
end)
|
534
|
-
|
535
|
-
api.add_operation(:update_identity_pool, Seahorse::Model::Operation.new.tap do |o|
|
536
|
-
o.name = "UpdateIdentityPool"
|
537
|
-
o.http_method = "POST"
|
538
|
-
o.http_request_uri = "/"
|
539
|
-
o.input = Shapes::ShapeRef.new(shape: IdentityPool)
|
540
|
-
o.output = Shapes::ShapeRef.new(shape: IdentityPool)
|
541
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
542
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
543
|
-
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
544
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
545
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
546
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
547
|
-
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
548
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
549
|
-
end)
|
550
|
-
end
|
266
|
+
MergeDeveloperIdentitiesResponse.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, location_name: "IdentityId"))
|
267
|
+
MergeDeveloperIdentitiesResponse.struct_class = Types::MergeDeveloperIdentitiesResponse
|
551
268
|
|
269
|
+
OIDCProviderList.member = Shapes::ShapeRef.new(shape: ARNString)
|
270
|
+
|
271
|
+
RoleMapping.add_member(:type, Shapes::ShapeRef.new(shape: RoleMappingType, required: true, location_name: "Type"))
|
272
|
+
RoleMapping.add_member(:ambiguous_role_resolution, Shapes::ShapeRef.new(shape: AmbiguousRoleResolutionType, location_name: "AmbiguousRoleResolution"))
|
273
|
+
RoleMapping.add_member(:rules_configuration, Shapes::ShapeRef.new(shape: RulesConfigurationType, location_name: "RulesConfiguration"))
|
274
|
+
RoleMapping.struct_class = Types::RoleMapping
|
275
|
+
|
276
|
+
RoleMappingMap.key = Shapes::ShapeRef.new(shape: IdentityProviderName)
|
277
|
+
RoleMappingMap.value = Shapes::ShapeRef.new(shape: RoleMapping)
|
278
|
+
|
279
|
+
RolesMap.key = Shapes::ShapeRef.new(shape: RoleType)
|
280
|
+
RolesMap.value = Shapes::ShapeRef.new(shape: ARNString)
|
281
|
+
|
282
|
+
RulesConfigurationType.add_member(:rules, Shapes::ShapeRef.new(shape: MappingRulesList, required: true, location_name: "Rules"))
|
283
|
+
RulesConfigurationType.struct_class = Types::RulesConfigurationType
|
284
|
+
|
285
|
+
SAMLProviderList.member = Shapes::ShapeRef.new(shape: ARNString)
|
286
|
+
|
287
|
+
SetIdentityPoolRolesInput.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, required: true, location_name: "IdentityPoolId"))
|
288
|
+
SetIdentityPoolRolesInput.add_member(:roles, Shapes::ShapeRef.new(shape: RolesMap, required: true, location_name: "Roles"))
|
289
|
+
SetIdentityPoolRolesInput.add_member(:role_mappings, Shapes::ShapeRef.new(shape: RoleMappingMap, location_name: "RoleMappings"))
|
290
|
+
SetIdentityPoolRolesInput.struct_class = Types::SetIdentityPoolRolesInput
|
291
|
+
|
292
|
+
UnlinkDeveloperIdentityInput.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, required: true, location_name: "IdentityId"))
|
293
|
+
UnlinkDeveloperIdentityInput.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, required: true, location_name: "IdentityPoolId"))
|
294
|
+
UnlinkDeveloperIdentityInput.add_member(:developer_provider_name, Shapes::ShapeRef.new(shape: DeveloperProviderName, required: true, location_name: "DeveloperProviderName"))
|
295
|
+
UnlinkDeveloperIdentityInput.add_member(:developer_user_identifier, Shapes::ShapeRef.new(shape: DeveloperUserIdentifier, required: true, location_name: "DeveloperUserIdentifier"))
|
296
|
+
UnlinkDeveloperIdentityInput.struct_class = Types::UnlinkDeveloperIdentityInput
|
297
|
+
|
298
|
+
UnlinkIdentityInput.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, required: true, location_name: "IdentityId"))
|
299
|
+
UnlinkIdentityInput.add_member(:logins, Shapes::ShapeRef.new(shape: LoginsMap, required: true, location_name: "Logins"))
|
300
|
+
UnlinkIdentityInput.add_member(:logins_to_remove, Shapes::ShapeRef.new(shape: LoginsList, required: true, location_name: "LoginsToRemove"))
|
301
|
+
UnlinkIdentityInput.struct_class = Types::UnlinkIdentityInput
|
302
|
+
|
303
|
+
UnprocessedIdentityId.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, location_name: "IdentityId"))
|
304
|
+
UnprocessedIdentityId.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
|
305
|
+
UnprocessedIdentityId.struct_class = Types::UnprocessedIdentityId
|
306
|
+
|
307
|
+
UnprocessedIdentityIdList.member = Shapes::ShapeRef.new(shape: UnprocessedIdentityId)
|
308
|
+
|
309
|
+
|
310
|
+
# @api private
|
311
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
312
|
+
|
313
|
+
api.version = "2014-06-30"
|
314
|
+
|
315
|
+
api.metadata = {
|
316
|
+
"endpointPrefix" => "cognito-identity",
|
317
|
+
"jsonVersion" => "1.1",
|
318
|
+
"protocol" => "json",
|
319
|
+
"serviceFullName" => "Amazon Cognito Identity",
|
320
|
+
"signatureVersion" => "v4",
|
321
|
+
"targetPrefix" => "AWSCognitoIdentityService",
|
322
|
+
}
|
323
|
+
|
324
|
+
api.add_operation(:create_identity_pool, Seahorse::Model::Operation.new.tap do |o|
|
325
|
+
o.name = "CreateIdentityPool"
|
326
|
+
o.http_method = "POST"
|
327
|
+
o.http_request_uri = "/"
|
328
|
+
o.input = Shapes::ShapeRef.new(shape: CreateIdentityPoolInput)
|
329
|
+
o.output = Shapes::ShapeRef.new(shape: IdentityPool)
|
330
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
331
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
332
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
333
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
334
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
335
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
336
|
+
end)
|
337
|
+
|
338
|
+
api.add_operation(:delete_identities, Seahorse::Model::Operation.new.tap do |o|
|
339
|
+
o.name = "DeleteIdentities"
|
340
|
+
o.http_method = "POST"
|
341
|
+
o.http_request_uri = "/"
|
342
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteIdentitiesInput)
|
343
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteIdentitiesResponse)
|
344
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
345
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
346
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
347
|
+
end)
|
348
|
+
|
349
|
+
api.add_operation(:delete_identity_pool, Seahorse::Model::Operation.new.tap do |o|
|
350
|
+
o.name = "DeleteIdentityPool"
|
351
|
+
o.http_method = "POST"
|
352
|
+
o.http_request_uri = "/"
|
353
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteIdentityPoolInput)
|
354
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
355
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
356
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
357
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
358
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
359
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
360
|
+
end)
|
361
|
+
|
362
|
+
api.add_operation(:describe_identity, Seahorse::Model::Operation.new.tap do |o|
|
363
|
+
o.name = "DescribeIdentity"
|
364
|
+
o.http_method = "POST"
|
365
|
+
o.http_request_uri = "/"
|
366
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeIdentityInput)
|
367
|
+
o.output = Shapes::ShapeRef.new(shape: IdentityDescription)
|
368
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
369
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
370
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
371
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
372
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
373
|
+
end)
|
374
|
+
|
375
|
+
api.add_operation(:describe_identity_pool, Seahorse::Model::Operation.new.tap do |o|
|
376
|
+
o.name = "DescribeIdentityPool"
|
377
|
+
o.http_method = "POST"
|
378
|
+
o.http_request_uri = "/"
|
379
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeIdentityPoolInput)
|
380
|
+
o.output = Shapes::ShapeRef.new(shape: IdentityPool)
|
381
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
382
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
383
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
384
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
385
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
386
|
+
end)
|
387
|
+
|
388
|
+
api.add_operation(:get_credentials_for_identity, Seahorse::Model::Operation.new.tap do |o|
|
389
|
+
o.name = "GetCredentialsForIdentity"
|
390
|
+
o.http_method = "POST"
|
391
|
+
o.http_request_uri = "/"
|
392
|
+
o['authtype'] = "none"
|
393
|
+
o.input = Shapes::ShapeRef.new(shape: GetCredentialsForIdentityInput)
|
394
|
+
o.output = Shapes::ShapeRef.new(shape: GetCredentialsForIdentityResponse)
|
395
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
396
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
397
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
398
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
399
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
400
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidIdentityPoolConfigurationException)
|
401
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
402
|
+
o.errors << Shapes::ShapeRef.new(shape: ExternalServiceException)
|
403
|
+
end)
|
404
|
+
|
405
|
+
api.add_operation(:get_id, Seahorse::Model::Operation.new.tap do |o|
|
406
|
+
o.name = "GetId"
|
407
|
+
o.http_method = "POST"
|
408
|
+
o.http_request_uri = "/"
|
409
|
+
o['authtype'] = "none"
|
410
|
+
o.input = Shapes::ShapeRef.new(shape: GetIdInput)
|
411
|
+
o.output = Shapes::ShapeRef.new(shape: GetIdResponse)
|
412
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
413
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
414
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
415
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
416
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
417
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
418
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
419
|
+
o.errors << Shapes::ShapeRef.new(shape: ExternalServiceException)
|
420
|
+
end)
|
421
|
+
|
422
|
+
api.add_operation(:get_identity_pool_roles, Seahorse::Model::Operation.new.tap do |o|
|
423
|
+
o.name = "GetIdentityPoolRoles"
|
424
|
+
o.http_method = "POST"
|
425
|
+
o.http_request_uri = "/"
|
426
|
+
o.input = Shapes::ShapeRef.new(shape: GetIdentityPoolRolesInput)
|
427
|
+
o.output = Shapes::ShapeRef.new(shape: GetIdentityPoolRolesResponse)
|
428
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
429
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
430
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
431
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
432
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
433
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
434
|
+
end)
|
435
|
+
|
436
|
+
api.add_operation(:get_open_id_token, Seahorse::Model::Operation.new.tap do |o|
|
437
|
+
o.name = "GetOpenIdToken"
|
438
|
+
o.http_method = "POST"
|
439
|
+
o.http_request_uri = "/"
|
440
|
+
o['authtype'] = "none"
|
441
|
+
o.input = Shapes::ShapeRef.new(shape: GetOpenIdTokenInput)
|
442
|
+
o.output = Shapes::ShapeRef.new(shape: GetOpenIdTokenResponse)
|
443
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
444
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
445
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
446
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
447
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
448
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
449
|
+
o.errors << Shapes::ShapeRef.new(shape: ExternalServiceException)
|
450
|
+
end)
|
451
|
+
|
452
|
+
api.add_operation(:get_open_id_token_for_developer_identity, Seahorse::Model::Operation.new.tap do |o|
|
453
|
+
o.name = "GetOpenIdTokenForDeveloperIdentity"
|
454
|
+
o.http_method = "POST"
|
455
|
+
o.http_request_uri = "/"
|
456
|
+
o.input = Shapes::ShapeRef.new(shape: GetOpenIdTokenForDeveloperIdentityInput)
|
457
|
+
o.output = Shapes::ShapeRef.new(shape: GetOpenIdTokenForDeveloperIdentityResponse)
|
458
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
459
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
460
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
461
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
462
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
463
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
464
|
+
o.errors << Shapes::ShapeRef.new(shape: DeveloperUserAlreadyRegisteredException)
|
465
|
+
end)
|
466
|
+
|
467
|
+
api.add_operation(:list_identities, Seahorse::Model::Operation.new.tap do |o|
|
468
|
+
o.name = "ListIdentities"
|
469
|
+
o.http_method = "POST"
|
470
|
+
o.http_request_uri = "/"
|
471
|
+
o.input = Shapes::ShapeRef.new(shape: ListIdentitiesInput)
|
472
|
+
o.output = Shapes::ShapeRef.new(shape: ListIdentitiesResponse)
|
473
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
474
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
475
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
476
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
477
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
478
|
+
end)
|
479
|
+
|
480
|
+
api.add_operation(:list_identity_pools, Seahorse::Model::Operation.new.tap do |o|
|
481
|
+
o.name = "ListIdentityPools"
|
482
|
+
o.http_method = "POST"
|
483
|
+
o.http_request_uri = "/"
|
484
|
+
o.input = Shapes::ShapeRef.new(shape: ListIdentityPoolsInput)
|
485
|
+
o.output = Shapes::ShapeRef.new(shape: ListIdentityPoolsResponse)
|
486
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
487
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
488
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
489
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
490
|
+
end)
|
491
|
+
|
492
|
+
api.add_operation(:lookup_developer_identity, Seahorse::Model::Operation.new.tap do |o|
|
493
|
+
o.name = "LookupDeveloperIdentity"
|
494
|
+
o.http_method = "POST"
|
495
|
+
o.http_request_uri = "/"
|
496
|
+
o.input = Shapes::ShapeRef.new(shape: LookupDeveloperIdentityInput)
|
497
|
+
o.output = Shapes::ShapeRef.new(shape: LookupDeveloperIdentityResponse)
|
498
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
499
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
500
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
501
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
502
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
503
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
504
|
+
end)
|
505
|
+
|
506
|
+
api.add_operation(:merge_developer_identities, Seahorse::Model::Operation.new.tap do |o|
|
507
|
+
o.name = "MergeDeveloperIdentities"
|
508
|
+
o.http_method = "POST"
|
509
|
+
o.http_request_uri = "/"
|
510
|
+
o.input = Shapes::ShapeRef.new(shape: MergeDeveloperIdentitiesInput)
|
511
|
+
o.output = Shapes::ShapeRef.new(shape: MergeDeveloperIdentitiesResponse)
|
512
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
513
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
514
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
515
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
516
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
517
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
518
|
+
end)
|
519
|
+
|
520
|
+
api.add_operation(:set_identity_pool_roles, Seahorse::Model::Operation.new.tap do |o|
|
521
|
+
o.name = "SetIdentityPoolRoles"
|
522
|
+
o.http_method = "POST"
|
523
|
+
o.http_request_uri = "/"
|
524
|
+
o.input = Shapes::ShapeRef.new(shape: SetIdentityPoolRolesInput)
|
525
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
526
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
527
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
528
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
529
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
530
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
531
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
532
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
533
|
+
end)
|
534
|
+
|
535
|
+
api.add_operation(:unlink_developer_identity, Seahorse::Model::Operation.new.tap do |o|
|
536
|
+
o.name = "UnlinkDeveloperIdentity"
|
537
|
+
o.http_method = "POST"
|
538
|
+
o.http_request_uri = "/"
|
539
|
+
o.input = Shapes::ShapeRef.new(shape: UnlinkDeveloperIdentityInput)
|
540
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
541
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
542
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
543
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
544
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
545
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
546
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
547
|
+
end)
|
548
|
+
|
549
|
+
api.add_operation(:unlink_identity, Seahorse::Model::Operation.new.tap do |o|
|
550
|
+
o.name = "UnlinkIdentity"
|
551
|
+
o.http_method = "POST"
|
552
|
+
o.http_request_uri = "/"
|
553
|
+
o['authtype'] = "none"
|
554
|
+
o.input = Shapes::ShapeRef.new(shape: UnlinkIdentityInput)
|
555
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
556
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
557
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
558
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
559
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
560
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
561
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
562
|
+
o.errors << Shapes::ShapeRef.new(shape: ExternalServiceException)
|
563
|
+
end)
|
564
|
+
|
565
|
+
api.add_operation(:update_identity_pool, Seahorse::Model::Operation.new.tap do |o|
|
566
|
+
o.name = "UpdateIdentityPool"
|
567
|
+
o.http_method = "POST"
|
568
|
+
o.http_request_uri = "/"
|
569
|
+
o.input = Shapes::ShapeRef.new(shape: IdentityPool)
|
570
|
+
o.output = Shapes::ShapeRef.new(shape: IdentityPool)
|
571
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
572
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
573
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
574
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
575
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
576
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
577
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
578
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
579
|
+
end)
|
552
580
|
end
|
581
|
+
|
553
582
|
end
|
554
583
|
end
|