aws-sdk-cognitoidentity 1.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,554 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing for info on making contributions:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CognitoIdentity
10
+ # @api private
11
+ module ClientApi
12
+
13
+ include Seahorse::Model
14
+
15
+ ARNString = Shapes::StringShape.new(name: 'ARNString')
16
+ AccessKeyString = Shapes::StringShape.new(name: 'AccessKeyString')
17
+ AccountId = Shapes::StringShape.new(name: 'AccountId')
18
+ CognitoIdentityProvider = Shapes::StructureShape.new(name: 'CognitoIdentityProvider')
19
+ CognitoIdentityProviderClientId = Shapes::StringShape.new(name: 'CognitoIdentityProviderClientId')
20
+ CognitoIdentityProviderList = Shapes::ListShape.new(name: 'CognitoIdentityProviderList')
21
+ CognitoIdentityProviderName = Shapes::StringShape.new(name: 'CognitoIdentityProviderName')
22
+ ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
23
+ CreateIdentityPoolInput = Shapes::StructureShape.new(name: 'CreateIdentityPoolInput')
24
+ Credentials = Shapes::StructureShape.new(name: 'Credentials')
25
+ DateType = Shapes::TimestampShape.new(name: 'DateType')
26
+ DeleteIdentitiesInput = Shapes::StructureShape.new(name: 'DeleteIdentitiesInput')
27
+ DeleteIdentitiesResponse = Shapes::StructureShape.new(name: 'DeleteIdentitiesResponse')
28
+ DeleteIdentityPoolInput = Shapes::StructureShape.new(name: 'DeleteIdentityPoolInput')
29
+ DescribeIdentityInput = Shapes::StructureShape.new(name: 'DescribeIdentityInput')
30
+ DescribeIdentityPoolInput = Shapes::StructureShape.new(name: 'DescribeIdentityPoolInput')
31
+ DeveloperProviderName = Shapes::StringShape.new(name: 'DeveloperProviderName')
32
+ DeveloperUserAlreadyRegisteredException = Shapes::StructureShape.new(name: 'DeveloperUserAlreadyRegisteredException')
33
+ DeveloperUserIdentifier = Shapes::StringShape.new(name: 'DeveloperUserIdentifier')
34
+ DeveloperUserIdentifierList = Shapes::ListShape.new(name: 'DeveloperUserIdentifierList')
35
+ ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
36
+ ExternalServiceException = Shapes::StructureShape.new(name: 'ExternalServiceException')
37
+ GetCredentialsForIdentityInput = Shapes::StructureShape.new(name: 'GetCredentialsForIdentityInput')
38
+ GetCredentialsForIdentityResponse = Shapes::StructureShape.new(name: 'GetCredentialsForIdentityResponse')
39
+ GetIdInput = Shapes::StructureShape.new(name: 'GetIdInput')
40
+ GetIdResponse = Shapes::StructureShape.new(name: 'GetIdResponse')
41
+ GetIdentityPoolRolesInput = Shapes::StructureShape.new(name: 'GetIdentityPoolRolesInput')
42
+ GetIdentityPoolRolesResponse = Shapes::StructureShape.new(name: 'GetIdentityPoolRolesResponse')
43
+ GetOpenIdTokenForDeveloperIdentityInput = Shapes::StructureShape.new(name: 'GetOpenIdTokenForDeveloperIdentityInput')
44
+ GetOpenIdTokenForDeveloperIdentityResponse = Shapes::StructureShape.new(name: 'GetOpenIdTokenForDeveloperIdentityResponse')
45
+ GetOpenIdTokenInput = Shapes::StructureShape.new(name: 'GetOpenIdTokenInput')
46
+ GetOpenIdTokenResponse = Shapes::StructureShape.new(name: 'GetOpenIdTokenResponse')
47
+ HideDisabled = Shapes::BooleanShape.new(name: 'HideDisabled')
48
+ IdentitiesList = Shapes::ListShape.new(name: 'IdentitiesList')
49
+ IdentityDescription = Shapes::StructureShape.new(name: 'IdentityDescription')
50
+ IdentityId = Shapes::StringShape.new(name: 'IdentityId')
51
+ IdentityIdList = Shapes::ListShape.new(name: 'IdentityIdList')
52
+ IdentityPool = Shapes::StructureShape.new(name: 'IdentityPool')
53
+ IdentityPoolId = Shapes::StringShape.new(name: 'IdentityPoolId')
54
+ IdentityPoolName = Shapes::StringShape.new(name: 'IdentityPoolName')
55
+ IdentityPoolShortDescription = Shapes::StructureShape.new(name: 'IdentityPoolShortDescription')
56
+ IdentityPoolUnauthenticated = Shapes::BooleanShape.new(name: 'IdentityPoolUnauthenticated')
57
+ IdentityPoolsList = Shapes::ListShape.new(name: 'IdentityPoolsList')
58
+ IdentityProviderId = Shapes::StringShape.new(name: 'IdentityProviderId')
59
+ IdentityProviderName = Shapes::StringShape.new(name: 'IdentityProviderName')
60
+ IdentityProviderToken = Shapes::StringShape.new(name: 'IdentityProviderToken')
61
+ IdentityProviders = Shapes::MapShape.new(name: 'IdentityProviders')
62
+ InternalErrorException = Shapes::StructureShape.new(name: 'InternalErrorException')
63
+ InvalidIdentityPoolConfigurationException = Shapes::StructureShape.new(name: 'InvalidIdentityPoolConfigurationException')
64
+ InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
65
+ LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
66
+ ListIdentitiesInput = Shapes::StructureShape.new(name: 'ListIdentitiesInput')
67
+ ListIdentitiesResponse = Shapes::StructureShape.new(name: 'ListIdentitiesResponse')
68
+ ListIdentityPoolsInput = Shapes::StructureShape.new(name: 'ListIdentityPoolsInput')
69
+ ListIdentityPoolsResponse = Shapes::StructureShape.new(name: 'ListIdentityPoolsResponse')
70
+ LoginsList = Shapes::ListShape.new(name: 'LoginsList')
71
+ LoginsMap = Shapes::MapShape.new(name: 'LoginsMap')
72
+ LookupDeveloperIdentityInput = Shapes::StructureShape.new(name: 'LookupDeveloperIdentityInput')
73
+ LookupDeveloperIdentityResponse = Shapes::StructureShape.new(name: 'LookupDeveloperIdentityResponse')
74
+ MergeDeveloperIdentitiesInput = Shapes::StructureShape.new(name: 'MergeDeveloperIdentitiesInput')
75
+ MergeDeveloperIdentitiesResponse = Shapes::StructureShape.new(name: 'MergeDeveloperIdentitiesResponse')
76
+ NotAuthorizedException = Shapes::StructureShape.new(name: 'NotAuthorizedException')
77
+ OIDCProviderList = Shapes::ListShape.new(name: 'OIDCProviderList')
78
+ OIDCToken = Shapes::StringShape.new(name: 'OIDCToken')
79
+ PaginationKey = Shapes::StringShape.new(name: 'PaginationKey')
80
+ QueryLimit = Shapes::IntegerShape.new(name: 'QueryLimit')
81
+ ResourceConflictException = Shapes::StructureShape.new(name: 'ResourceConflictException')
82
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
83
+ RoleType = Shapes::StringShape.new(name: 'RoleType')
84
+ RolesMap = Shapes::MapShape.new(name: 'RolesMap')
85
+ SAMLProviderList = Shapes::ListShape.new(name: 'SAMLProviderList')
86
+ SecretKeyString = Shapes::StringShape.new(name: 'SecretKeyString')
87
+ SessionTokenString = Shapes::StringShape.new(name: 'SessionTokenString')
88
+ SetIdentityPoolRolesInput = Shapes::StructureShape.new(name: 'SetIdentityPoolRolesInput')
89
+ String = Shapes::StringShape.new(name: 'String')
90
+ TokenDuration = Shapes::IntegerShape.new(name: 'TokenDuration')
91
+ TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
92
+ UnlinkDeveloperIdentityInput = Shapes::StructureShape.new(name: 'UnlinkDeveloperIdentityInput')
93
+ UnlinkIdentityInput = Shapes::StructureShape.new(name: 'UnlinkIdentityInput')
94
+ UnprocessedIdentityId = Shapes::StructureShape.new(name: 'UnprocessedIdentityId')
95
+ UnprocessedIdentityIdList = Shapes::ListShape.new(name: 'UnprocessedIdentityIdList')
96
+
97
+ CognitoIdentityProvider.add_member(:provider_name, Shapes::ShapeRef.new(shape: CognitoIdentityProviderName, location_name: "ProviderName"))
98
+ CognitoIdentityProvider.add_member(:client_id, Shapes::ShapeRef.new(shape: CognitoIdentityProviderClientId, location_name: "ClientId"))
99
+ CognitoIdentityProvider.struct_class = Types::CognitoIdentityProvider
100
+
101
+ CognitoIdentityProviderList.member = Shapes::ShapeRef.new(shape: CognitoIdentityProvider)
102
+
103
+ CreateIdentityPoolInput.add_member(:identity_pool_name, Shapes::ShapeRef.new(shape: IdentityPoolName, required: true, location_name: "IdentityPoolName"))
104
+ CreateIdentityPoolInput.add_member(:allow_unauthenticated_identities, Shapes::ShapeRef.new(shape: IdentityPoolUnauthenticated, required: true, location_name: "AllowUnauthenticatedIdentities"))
105
+ CreateIdentityPoolInput.add_member(:supported_login_providers, Shapes::ShapeRef.new(shape: IdentityProviders, location_name: "SupportedLoginProviders"))
106
+ CreateIdentityPoolInput.add_member(:developer_provider_name, Shapes::ShapeRef.new(shape: DeveloperProviderName, location_name: "DeveloperProviderName"))
107
+ CreateIdentityPoolInput.add_member(:open_id_connect_provider_arns, Shapes::ShapeRef.new(shape: OIDCProviderList, location_name: "OpenIdConnectProviderARNs"))
108
+ CreateIdentityPoolInput.add_member(:cognito_identity_providers, Shapes::ShapeRef.new(shape: CognitoIdentityProviderList, location_name: "CognitoIdentityProviders"))
109
+ CreateIdentityPoolInput.add_member(:saml_provider_arns, Shapes::ShapeRef.new(shape: SAMLProviderList, location_name: "SamlProviderARNs"))
110
+ CreateIdentityPoolInput.struct_class = Types::CreateIdentityPoolInput
111
+
112
+ Credentials.add_member(:access_key_id, Shapes::ShapeRef.new(shape: AccessKeyString, location_name: "AccessKeyId"))
113
+ Credentials.add_member(:secret_key, Shapes::ShapeRef.new(shape: SecretKeyString, location_name: "SecretKey"))
114
+ Credentials.add_member(:session_token, Shapes::ShapeRef.new(shape: SessionTokenString, location_name: "SessionToken"))
115
+ Credentials.add_member(:expiration, Shapes::ShapeRef.new(shape: DateType, location_name: "Expiration"))
116
+ Credentials.struct_class = Types::Credentials
117
+
118
+ DeleteIdentitiesInput.add_member(:identity_ids_to_delete, Shapes::ShapeRef.new(shape: IdentityIdList, required: true, location_name: "IdentityIdsToDelete"))
119
+ DeleteIdentitiesInput.struct_class = Types::DeleteIdentitiesInput
120
+
121
+ DeleteIdentitiesResponse.add_member(:unprocessed_identity_ids, Shapes::ShapeRef.new(shape: UnprocessedIdentityIdList, location_name: "UnprocessedIdentityIds"))
122
+ DeleteIdentitiesResponse.struct_class = Types::DeleteIdentitiesResponse
123
+
124
+ DeleteIdentityPoolInput.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, required: true, location_name: "IdentityPoolId"))
125
+ DeleteIdentityPoolInput.struct_class = Types::DeleteIdentityPoolInput
126
+
127
+ DescribeIdentityInput.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, required: true, location_name: "IdentityId"))
128
+ DescribeIdentityInput.struct_class = Types::DescribeIdentityInput
129
+
130
+ DescribeIdentityPoolInput.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, required: true, location_name: "IdentityPoolId"))
131
+ DescribeIdentityPoolInput.struct_class = Types::DescribeIdentityPoolInput
132
+
133
+ DeveloperUserIdentifierList.member = Shapes::ShapeRef.new(shape: DeveloperUserIdentifier)
134
+
135
+ GetCredentialsForIdentityInput.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, required: true, location_name: "IdentityId"))
136
+ GetCredentialsForIdentityInput.add_member(:logins, Shapes::ShapeRef.new(shape: LoginsMap, location_name: "Logins"))
137
+ GetCredentialsForIdentityInput.add_member(:custom_role_arn, Shapes::ShapeRef.new(shape: ARNString, location_name: "CustomRoleArn"))
138
+ GetCredentialsForIdentityInput.struct_class = Types::GetCredentialsForIdentityInput
139
+
140
+ GetCredentialsForIdentityResponse.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, location_name: "IdentityId"))
141
+ GetCredentialsForIdentityResponse.add_member(:credentials, Shapes::ShapeRef.new(shape: Credentials, location_name: "Credentials"))
142
+ GetCredentialsForIdentityResponse.struct_class = Types::GetCredentialsForIdentityResponse
143
+
144
+ GetIdInput.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
145
+ GetIdInput.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, required: true, location_name: "IdentityPoolId"))
146
+ GetIdInput.add_member(:logins, Shapes::ShapeRef.new(shape: LoginsMap, location_name: "Logins"))
147
+ GetIdInput.struct_class = Types::GetIdInput
148
+
149
+ GetIdResponse.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, location_name: "IdentityId"))
150
+ GetIdResponse.struct_class = Types::GetIdResponse
151
+
152
+ GetIdentityPoolRolesInput.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, required: true, location_name: "IdentityPoolId"))
153
+ GetIdentityPoolRolesInput.struct_class = Types::GetIdentityPoolRolesInput
154
+
155
+ GetIdentityPoolRolesResponse.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, location_name: "IdentityPoolId"))
156
+ GetIdentityPoolRolesResponse.add_member(:roles, Shapes::ShapeRef.new(shape: RolesMap, location_name: "Roles"))
157
+ GetIdentityPoolRolesResponse.struct_class = Types::GetIdentityPoolRolesResponse
158
+
159
+ GetOpenIdTokenForDeveloperIdentityInput.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, required: true, location_name: "IdentityPoolId"))
160
+ GetOpenIdTokenForDeveloperIdentityInput.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, location_name: "IdentityId"))
161
+ GetOpenIdTokenForDeveloperIdentityInput.add_member(:logins, Shapes::ShapeRef.new(shape: LoginsMap, required: true, location_name: "Logins"))
162
+ GetOpenIdTokenForDeveloperIdentityInput.add_member(:token_duration, Shapes::ShapeRef.new(shape: TokenDuration, location_name: "TokenDuration"))
163
+ GetOpenIdTokenForDeveloperIdentityInput.struct_class = Types::GetOpenIdTokenForDeveloperIdentityInput
164
+
165
+ GetOpenIdTokenForDeveloperIdentityResponse.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, location_name: "IdentityId"))
166
+ GetOpenIdTokenForDeveloperIdentityResponse.add_member(:token, Shapes::ShapeRef.new(shape: OIDCToken, location_name: "Token"))
167
+ GetOpenIdTokenForDeveloperIdentityResponse.struct_class = Types::GetOpenIdTokenForDeveloperIdentityResponse
168
+
169
+ GetOpenIdTokenInput.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, required: true, location_name: "IdentityId"))
170
+ GetOpenIdTokenInput.add_member(:logins, Shapes::ShapeRef.new(shape: LoginsMap, location_name: "Logins"))
171
+ GetOpenIdTokenInput.struct_class = Types::GetOpenIdTokenInput
172
+
173
+ GetOpenIdTokenResponse.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, location_name: "IdentityId"))
174
+ GetOpenIdTokenResponse.add_member(:token, Shapes::ShapeRef.new(shape: OIDCToken, location_name: "Token"))
175
+ GetOpenIdTokenResponse.struct_class = Types::GetOpenIdTokenResponse
176
+
177
+ IdentitiesList.member = Shapes::ShapeRef.new(shape: IdentityDescription)
178
+
179
+ IdentityDescription.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, location_name: "IdentityId"))
180
+ IdentityDescription.add_member(:logins, Shapes::ShapeRef.new(shape: LoginsList, location_name: "Logins"))
181
+ IdentityDescription.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "CreationDate"))
182
+ IdentityDescription.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateType, location_name: "LastModifiedDate"))
183
+ IdentityDescription.struct_class = Types::IdentityDescription
184
+
185
+ IdentityIdList.member = Shapes::ShapeRef.new(shape: IdentityId)
186
+
187
+ IdentityPool.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, required: true, location_name: "IdentityPoolId"))
188
+ IdentityPool.add_member(:identity_pool_name, Shapes::ShapeRef.new(shape: IdentityPoolName, required: true, location_name: "IdentityPoolName"))
189
+ IdentityPool.add_member(:allow_unauthenticated_identities, Shapes::ShapeRef.new(shape: IdentityPoolUnauthenticated, required: true, location_name: "AllowUnauthenticatedIdentities"))
190
+ IdentityPool.add_member(:supported_login_providers, Shapes::ShapeRef.new(shape: IdentityProviders, location_name: "SupportedLoginProviders"))
191
+ IdentityPool.add_member(:developer_provider_name, Shapes::ShapeRef.new(shape: DeveloperProviderName, location_name: "DeveloperProviderName"))
192
+ IdentityPool.add_member(:open_id_connect_provider_arns, Shapes::ShapeRef.new(shape: OIDCProviderList, location_name: "OpenIdConnectProviderARNs"))
193
+ IdentityPool.add_member(:cognito_identity_providers, Shapes::ShapeRef.new(shape: CognitoIdentityProviderList, location_name: "CognitoIdentityProviders"))
194
+ IdentityPool.add_member(:saml_provider_arns, Shapes::ShapeRef.new(shape: SAMLProviderList, location_name: "SamlProviderARNs"))
195
+ IdentityPool.struct_class = Types::IdentityPool
196
+
197
+ IdentityPoolShortDescription.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, location_name: "IdentityPoolId"))
198
+ IdentityPoolShortDescription.add_member(:identity_pool_name, Shapes::ShapeRef.new(shape: IdentityPoolName, location_name: "IdentityPoolName"))
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
551
+
552
+ end
553
+ end
554
+ end