aws-sdk-core 2.4.3 → 2.4.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aa2ad0f174ccc5f76d4a440de619f05ac1eaa6c2
4
- data.tar.gz: d0e41da4a7b18e309d82bb69d69302e4a46f474d
3
+ metadata.gz: 42caca0ec1755873a365ba6af71d047c4727d12e
4
+ data.tar.gz: 0ec6133b6259c15fcc75c46dcdfb90e5f11788d5
5
5
  SHA512:
6
- metadata.gz: 2d04788cf3155caea639c90864719bf9073ad097ef39cf5856b1e0f9ffc94a55746a81c99c041fdb2d2d824933090352ac9850b94b7aef6792785228d2ee773e
7
- data.tar.gz: 8537eb192ee829d46a36437b52a4ce0e327ebff648536b0271d880c2f7c7e4213c6cbd83d7040d65f306a3dc76e9665e72c07fdf689b38df17e8589bfc286d6e
6
+ metadata.gz: 46c637c6dba9d2f589bd63f4221d44566491768258e6b4ae410144df01c636233d082c1c467d9d2a9ee07f1b48cae9f78396f37a4756313b2f03f3e008fa4070
7
+ data.tar.gz: 5c0f658bde2097ddced0c46a2e2a1c0193f98735a61412e66063cc8d449f60f8fa9bbf48ec55004bea2cf8773acb7c0cd3cbc1ffd68578b31879fcccb50b9edb
@@ -277,7 +277,8 @@
277
277
  "errors":[
278
278
  {"shape":"UnauthorizedException"},
279
279
  {"shape":"NotFoundException"},
280
- {"shape":"TooManyRequestsException"}
280
+ {"shape":"TooManyRequestsException"},
281
+ {"shape":"BadRequestException"}
281
282
  ]
282
283
  },
283
284
  "DeleteMethod":{
@@ -305,7 +306,8 @@
305
306
  "errors":[
306
307
  {"shape":"UnauthorizedException"},
307
308
  {"shape":"NotFoundException"},
308
- {"shape":"TooManyRequestsException"}
309
+ {"shape":"TooManyRequestsException"},
310
+ {"shape":"BadRequestException"}
309
311
  ]
310
312
  },
311
313
  "DeleteModel":{
@@ -918,7 +920,8 @@
918
920
  {"shape":"LimitExceededException"},
919
921
  {"shape":"NotFoundException"},
920
922
  {"shape":"BadRequestException"},
921
- {"shape":"TooManyRequestsException"}
923
+ {"shape":"TooManyRequestsException"},
924
+ {"shape":"ConflictException"}
922
925
  ]
923
926
  },
924
927
  "TestInvokeAuthorizer":{
@@ -1226,6 +1229,7 @@
1226
1229
  "id":{"shape":"String"},
1227
1230
  "name":{"shape":"String"},
1228
1231
  "type":{"shape":"AuthorizerType"},
1232
+ "providerARNs":{"shape":"ListOfARNs"},
1229
1233
  "authType":{"shape":"String"},
1230
1234
  "authorizerUri":{"shape":"String"},
1231
1235
  "authorizerCredentials":{"shape":"String"},
@@ -1236,7 +1240,10 @@
1236
1240
  },
1237
1241
  "AuthorizerType":{
1238
1242
  "type":"string",
1239
- "enum":["TOKEN"]
1243
+ "enum":[
1244
+ "TOKEN",
1245
+ "COGNITO_USER_POOLS"
1246
+ ]
1240
1247
  },
1241
1248
  "Authorizers":{
1242
1249
  "type":"structure",
@@ -1342,7 +1349,6 @@
1342
1349
  "restApiId",
1343
1350
  "name",
1344
1351
  "type",
1345
- "authorizerUri",
1346
1352
  "identitySource"
1347
1353
  ],
1348
1354
  "members":{
@@ -1353,6 +1359,7 @@
1353
1359
  },
1354
1360
  "name":{"shape":"String"},
1355
1361
  "type":{"shape":"AuthorizerType"},
1362
+ "providerARNs":{"shape":"ListOfARNs"},
1356
1363
  "authType":{"shape":"String"},
1357
1364
  "authorizerUri":{"shape":"String"},
1358
1365
  "authorizerCredentials":{"shape":"String"},
@@ -2461,6 +2468,10 @@
2461
2468
  "error":{"httpStatusCode":429},
2462
2469
  "exception":true
2463
2470
  },
2471
+ "ListOfARNs":{
2472
+ "type":"list",
2473
+ "member":{"shape":"ProviderARN"}
2474
+ },
2464
2475
  "ListOfApiKey":{
2465
2476
  "type":"list",
2466
2477
  "member":{"shape":"ApiKey"}
@@ -2646,6 +2657,7 @@
2646
2657
  "key":{"shape":"String"},
2647
2658
  "value":{"shape":"MapOfMethodSnapshot"}
2648
2659
  },
2660
+ "ProviderARN":{"type":"string"},
2649
2661
  "PutIntegrationRequest":{
2650
2662
  "type":"structure",
2651
2663
  "required":[
@@ -2962,7 +2974,8 @@
2962
2974
  "latency":{"shape":"Long"},
2963
2975
  "principalId":{"shape":"String"},
2964
2976
  "policy":{"shape":"String"},
2965
- "authorization":{"shape":"MapOfStringToList"}
2977
+ "authorization":{"shape":"MapOfStringToList"},
2978
+ "claims":{"shape":"MapOfStringToString"}
2966
2979
  }
2967
2980
  },
2968
2981
  "TestInvokeMethodRequest":{
@@ -0,0 +1,30 @@
1
+ {
2
+ "version": 2,
3
+ "waiters": {
4
+ "DeploymentSuccessful": {
5
+ "delay": 15,
6
+ "operation": "GetDeployment",
7
+ "maxAttempts": 120,
8
+ "acceptors": [
9
+ {
10
+ "expected": "Succeeded",
11
+ "matcher": "path",
12
+ "state": "success",
13
+ "argument": "deploymentInfo.status"
14
+ },
15
+ {
16
+ "expected": "Failed",
17
+ "matcher": "path",
18
+ "state": "failure",
19
+ "argument": "deploymentInfo.status"
20
+ },
21
+ {
22
+ "expected": "Stopped",
23
+ "matcher": "path",
24
+ "state": "failure",
25
+ "argument": "deploymentInfo.status"
26
+ }
27
+ ]
28
+ }
29
+ }
30
+ }
@@ -22,6 +22,7 @@
22
22
  {"shape":"ResourceNotFoundException"},
23
23
  {"shape":"InvalidParameterException"},
24
24
  {"shape":"TooManyRequestsException"},
25
+ {"shape":"NotAuthorizedException"},
25
26
  {"shape":"InternalErrorException"}
26
27
  ]
27
28
  },
@@ -43,7 +44,8 @@
43
44
  {"shape":"InvalidLambdaResponseException"},
44
45
  {"shape":"TooManyRequestsException"},
45
46
  {"shape":"LimitExceededException"},
46
- {"shape":"InternalErrorException"}
47
+ {"shape":"InternalErrorException"},
48
+ {"shape":"PasswordResetRequiredException"}
47
49
  ]
48
50
  },
49
51
  "AdminDeleteUser":{
@@ -57,6 +59,7 @@
57
59
  {"shape":"ResourceNotFoundException"},
58
60
  {"shape":"InvalidParameterException"},
59
61
  {"shape":"TooManyRequestsException"},
62
+ {"shape":"NotAuthorizedException"},
60
63
  {"shape":"InternalErrorException"}
61
64
  ]
62
65
  },
@@ -72,6 +75,7 @@
72
75
  {"shape":"ResourceNotFoundException"},
73
76
  {"shape":"InvalidParameterException"},
74
77
  {"shape":"TooManyRequestsException"},
78
+ {"shape":"NotAuthorizedException"},
75
79
  {"shape":"InternalErrorException"}
76
80
  ]
77
81
  },
@@ -87,6 +91,7 @@
87
91
  {"shape":"ResourceNotFoundException"},
88
92
  {"shape":"InvalidParameterException"},
89
93
  {"shape":"TooManyRequestsException"},
94
+ {"shape":"NotAuthorizedException"},
90
95
  {"shape":"InternalErrorException"}
91
96
  ]
92
97
  },
@@ -102,9 +107,43 @@
102
107
  {"shape":"ResourceNotFoundException"},
103
108
  {"shape":"InvalidParameterException"},
104
109
  {"shape":"TooManyRequestsException"},
110
+ {"shape":"NotAuthorizedException"},
105
111
  {"shape":"InternalErrorException"}
106
112
  ]
107
113
  },
114
+ "AdminForgetDevice":{
115
+ "name":"AdminForgetDevice",
116
+ "http":{
117
+ "method":"POST",
118
+ "requestUri":"/"
119
+ },
120
+ "input":{"shape":"AdminForgetDeviceRequest"},
121
+ "errors":[
122
+ {"shape":"ResourceNotFoundException"},
123
+ {"shape":"InvalidParameterException"},
124
+ {"shape":"InvalidUserPoolConfigurationException"},
125
+ {"shape":"TooManyRequestsException"},
126
+ {"shape":"InternalErrorException"},
127
+ {"shape":"NotAuthorizedException"}
128
+ ]
129
+ },
130
+ "AdminGetDevice":{
131
+ "name":"AdminGetDevice",
132
+ "http":{
133
+ "method":"POST",
134
+ "requestUri":"/"
135
+ },
136
+ "input":{"shape":"AdminGetDeviceRequest"},
137
+ "output":{"shape":"AdminGetDeviceResponse"},
138
+ "errors":[
139
+ {"shape":"ResourceNotFoundException"},
140
+ {"shape":"InvalidParameterException"},
141
+ {"shape":"InvalidUserPoolConfigurationException"},
142
+ {"shape":"TooManyRequestsException"},
143
+ {"shape":"InternalErrorException"},
144
+ {"shape":"NotAuthorizedException"}
145
+ ]
146
+ },
108
147
  "AdminGetUser":{
109
148
  "name":"AdminGetUser",
110
149
  "http":{
@@ -117,9 +156,50 @@
117
156
  {"shape":"ResourceNotFoundException"},
118
157
  {"shape":"InvalidParameterException"},
119
158
  {"shape":"TooManyRequestsException"},
159
+ {"shape":"NotAuthorizedException"},
120
160
  {"shape":"InternalErrorException"}
121
161
  ]
122
162
  },
163
+ "AdminInitiateAuth":{
164
+ "name":"AdminInitiateAuth",
165
+ "http":{
166
+ "method":"POST",
167
+ "requestUri":"/"
168
+ },
169
+ "input":{"shape":"AdminInitiateAuthRequest"},
170
+ "output":{"shape":"AdminInitiateAuthResponse"},
171
+ "errors":[
172
+ {"shape":"ResourceNotFoundException"},
173
+ {"shape":"InvalidParameterException"},
174
+ {"shape":"NotAuthorizedException"},
175
+ {"shape":"TooManyRequestsException"},
176
+ {"shape":"InternalErrorException"},
177
+ {"shape":"UnexpectedLambdaException"},
178
+ {"shape":"InvalidUserPoolConfigurationException"},
179
+ {"shape":"UserLambdaValidationException"},
180
+ {"shape":"InvalidLambdaResponseException"},
181
+ {"shape":"MFAMethodNotFoundException"},
182
+ {"shape":"InvalidSmsRoleAccessPolicyException"},
183
+ {"shape":"InvalidSmsRoleTrustRelationshipException"}
184
+ ]
185
+ },
186
+ "AdminListDevices":{
187
+ "name":"AdminListDevices",
188
+ "http":{
189
+ "method":"POST",
190
+ "requestUri":"/"
191
+ },
192
+ "input":{"shape":"AdminListDevicesRequest"},
193
+ "output":{"shape":"AdminListDevicesResponse"},
194
+ "errors":[
195
+ {"shape":"InvalidParameterException"},
196
+ {"shape":"ResourceNotFoundException"},
197
+ {"shape":"InvalidUserPoolConfigurationException"},
198
+ {"shape":"TooManyRequestsException"},
199
+ {"shape":"InternalErrorException"},
200
+ {"shape":"NotAuthorizedException"}
201
+ ]
202
+ },
123
203
  "AdminResetUserPassword":{
124
204
  "name":"AdminResetUserPassword",
125
205
  "http":{
@@ -140,6 +220,32 @@
140
220
  {"shape":"InternalErrorException"}
141
221
  ]
142
222
  },
223
+ "AdminRespondToAuthChallenge":{
224
+ "name":"AdminRespondToAuthChallenge",
225
+ "http":{
226
+ "method":"POST",
227
+ "requestUri":"/"
228
+ },
229
+ "input":{"shape":"AdminRespondToAuthChallengeRequest"},
230
+ "output":{"shape":"AdminRespondToAuthChallengeResponse"},
231
+ "errors":[
232
+ {"shape":"ResourceNotFoundException"},
233
+ {"shape":"InvalidParameterException"},
234
+ {"shape":"NotAuthorizedException"},
235
+ {"shape":"CodeMismatchException"},
236
+ {"shape":"ExpiredCodeException"},
237
+ {"shape":"UnexpectedLambdaException"},
238
+ {"shape":"UserLambdaValidationException"},
239
+ {"shape":"InvalidLambdaResponseException"},
240
+ {"shape":"TooManyRequestsException"},
241
+ {"shape":"InvalidUserPoolConfigurationException"},
242
+ {"shape":"InternalErrorException"},
243
+ {"shape":"MFAMethodNotFoundException"},
244
+ {"shape":"InvalidSmsRoleAccessPolicyException"},
245
+ {"shape":"InvalidSmsRoleTrustRelationshipException"},
246
+ {"shape":"AliasExistsException"}
247
+ ]
248
+ },
143
249
  "AdminSetUserSettings":{
144
250
  "name":"AdminSetUserSettings",
145
251
  "http":{
@@ -151,6 +257,24 @@
151
257
  "errors":[
152
258
  {"shape":"ResourceNotFoundException"},
153
259
  {"shape":"InvalidParameterException"},
260
+ {"shape":"NotAuthorizedException"},
261
+ {"shape":"InternalErrorException"}
262
+ ]
263
+ },
264
+ "AdminUpdateDeviceStatus":{
265
+ "name":"AdminUpdateDeviceStatus",
266
+ "http":{
267
+ "method":"POST",
268
+ "requestUri":"/"
269
+ },
270
+ "input":{"shape":"AdminUpdateDeviceStatusRequest"},
271
+ "output":{"shape":"AdminUpdateDeviceStatusResponse"},
272
+ "errors":[
273
+ {"shape":"InvalidParameterException"},
274
+ {"shape":"ResourceNotFoundException"},
275
+ {"shape":"InvalidUserPoolConfigurationException"},
276
+ {"shape":"TooManyRequestsException"},
277
+ {"shape":"InternalErrorException"},
154
278
  {"shape":"NotAuthorizedException"}
155
279
  ]
156
280
  },
@@ -170,6 +294,23 @@
170
294
  {"shape":"InvalidLambdaResponseException"},
171
295
  {"shape":"AliasExistsException"},
172
296
  {"shape":"TooManyRequestsException"},
297
+ {"shape":"NotAuthorizedException"},
298
+ {"shape":"InternalErrorException"}
299
+ ]
300
+ },
301
+ "AdminUserGlobalSignOut":{
302
+ "name":"AdminUserGlobalSignOut",
303
+ "http":{
304
+ "method":"POST",
305
+ "requestUri":"/"
306
+ },
307
+ "input":{"shape":"AdminUserGlobalSignOutRequest"},
308
+ "output":{"shape":"AdminUserGlobalSignOutResponse"},
309
+ "errors":[
310
+ {"shape":"ResourceNotFoundException"},
311
+ {"shape":"InvalidParameterException"},
312
+ {"shape":"TooManyRequestsException"},
313
+ {"shape":"NotAuthorizedException"},
173
314
  {"shape":"InternalErrorException"}
174
315
  ]
175
316
  },
@@ -187,10 +328,31 @@
187
328
  {"shape":"InvalidPasswordException"},
188
329
  {"shape":"NotAuthorizedException"},
189
330
  {"shape":"TooManyRequestsException"},
331
+ {"shape":"LimitExceededException"},
190
332
  {"shape":"InternalErrorException"}
191
333
  ],
192
334
  "authtype":"none"
193
335
  },
336
+ "ConfirmDevice":{
337
+ "name":"ConfirmDevice",
338
+ "http":{
339
+ "method":"POST",
340
+ "requestUri":"/"
341
+ },
342
+ "input":{"shape":"ConfirmDeviceRequest"},
343
+ "output":{"shape":"ConfirmDeviceResponse"},
344
+ "errors":[
345
+ {"shape":"ResourceNotFoundException"},
346
+ {"shape":"InvalidParameterException"},
347
+ {"shape":"NotAuthorizedException"},
348
+ {"shape":"InvalidPasswordException"},
349
+ {"shape":"InvalidLambdaResponseException"},
350
+ {"shape":"UsernameExistsException"},
351
+ {"shape":"InvalidUserPoolConfigurationException"},
352
+ {"shape":"TooManyRequestsException"},
353
+ {"shape":"InternalErrorException"}
354
+ ]
355
+ },
194
356
  "ConfirmForgotPassword":{
195
357
  "name":"ConfirmForgotPassword",
196
358
  "http":{
@@ -212,7 +374,9 @@
212
374
  {"shape":"InvalidLambdaResponseException"},
213
375
  {"shape":"TooManyRequestsException"},
214
376
  {"shape":"LimitExceededException"},
215
- {"shape":"InternalErrorException"}
377
+ {"shape":"InternalErrorException"},
378
+ {"shape":"UserNotFoundException"},
379
+ {"shape":"UserNotConfirmedException"}
216
380
  ],
217
381
  "authtype":"none"
218
382
  },
@@ -237,7 +401,8 @@
237
401
  {"shape":"AliasExistsException"},
238
402
  {"shape":"TooManyRequestsException"},
239
403
  {"shape":"LimitExceededException"},
240
- {"shape":"InternalErrorException"}
404
+ {"shape":"InternalErrorException"},
405
+ {"shape":"UserNotFoundException"}
241
406
  ],
242
407
  "authtype":"none"
243
408
  },
@@ -252,8 +417,12 @@
252
417
  "errors":[
253
418
  {"shape":"InvalidParameterException"},
254
419
  {"shape":"TooManyRequestsException"},
255
- {"shape":"InternalErrorException"},
256
- {"shape":"LimitExceededException"}
420
+ {"shape":"LimitExceededException"},
421
+ {"shape":"InvalidSmsRoleAccessPolicyException"},
422
+ {"shape":"InvalidSmsRoleTrustRelationshipException"},
423
+ {"shape":"InvalidEmailRoleAccessPolicyException"},
424
+ {"shape":"NotAuthorizedException"},
425
+ {"shape":"InternalErrorException"}
257
426
  ]
258
427
  },
259
428
  "CreateUserPoolClient":{
@@ -269,6 +438,7 @@
269
438
  {"shape":"ResourceNotFoundException"},
270
439
  {"shape":"TooManyRequestsException"},
271
440
  {"shape":"LimitExceededException"},
441
+ {"shape":"NotAuthorizedException"},
272
442
  {"shape":"InternalErrorException"}
273
443
  ]
274
444
  },
@@ -316,6 +486,7 @@
316
486
  {"shape":"ResourceNotFoundException"},
317
487
  {"shape":"InvalidParameterException"},
318
488
  {"shape":"TooManyRequestsException"},
489
+ {"shape":"NotAuthorizedException"},
319
490
  {"shape":"InternalErrorException"}
320
491
  ]
321
492
  },
@@ -330,6 +501,7 @@
330
501
  {"shape":"ResourceNotFoundException"},
331
502
  {"shape":"InvalidParameterException"},
332
503
  {"shape":"TooManyRequestsException"},
504
+ {"shape":"NotAuthorizedException"},
333
505
  {"shape":"InternalErrorException"}
334
506
  ]
335
507
  },
@@ -345,6 +517,7 @@
345
517
  {"shape":"ResourceNotFoundException"},
346
518
  {"shape":"InvalidParameterException"},
347
519
  {"shape":"TooManyRequestsException"},
520
+ {"shape":"NotAuthorizedException"},
348
521
  {"shape":"InternalErrorException"}
349
522
  ]
350
523
  },
@@ -360,6 +533,23 @@
360
533
  {"shape":"ResourceNotFoundException"},
361
534
  {"shape":"InvalidParameterException"},
362
535
  {"shape":"TooManyRequestsException"},
536
+ {"shape":"NotAuthorizedException"},
537
+ {"shape":"InternalErrorException"}
538
+ ]
539
+ },
540
+ "ForgetDevice":{
541
+ "name":"ForgetDevice",
542
+ "http":{
543
+ "method":"POST",
544
+ "requestUri":"/"
545
+ },
546
+ "input":{"shape":"ForgetDeviceRequest"},
547
+ "errors":[
548
+ {"shape":"ResourceNotFoundException"},
549
+ {"shape":"InvalidParameterException"},
550
+ {"shape":"NotAuthorizedException"},
551
+ {"shape":"TooManyRequestsException"},
552
+ {"shape":"InvalidUserPoolConfigurationException"},
363
553
  {"shape":"InternalErrorException"}
364
554
  ]
365
555
  },
@@ -380,10 +570,33 @@
380
570
  {"shape":"InvalidLambdaResponseException"},
381
571
  {"shape":"TooManyRequestsException"},
382
572
  {"shape":"LimitExceededException"},
383
- {"shape":"InternalErrorException"}
573
+ {"shape":"InternalErrorException"},
574
+ {"shape":"InvalidSmsRoleAccessPolicyException"},
575
+ {"shape":"InvalidSmsRoleTrustRelationshipException"},
576
+ {"shape":"InvalidEmailRoleAccessPolicyException"},
577
+ {"shape":"CodeDeliveryFailureException"},
578
+ {"shape":"UserNotFoundException"},
579
+ {"shape":"UserNotConfirmedException"}
384
580
  ],
385
581
  "authtype":"none"
386
582
  },
583
+ "GetDevice":{
584
+ "name":"GetDevice",
585
+ "http":{
586
+ "method":"POST",
587
+ "requestUri":"/"
588
+ },
589
+ "input":{"shape":"GetDeviceRequest"},
590
+ "output":{"shape":"GetDeviceResponse"},
591
+ "errors":[
592
+ {"shape":"ResourceNotFoundException"},
593
+ {"shape":"InvalidParameterException"},
594
+ {"shape":"InvalidUserPoolConfigurationException"},
595
+ {"shape":"NotAuthorizedException"},
596
+ {"shape":"TooManyRequestsException"},
597
+ {"shape":"InternalErrorException"}
598
+ ]
599
+ },
387
600
  "GetUser":{
388
601
  "name":"GetUser",
389
602
  "http":{
@@ -417,10 +630,71 @@
417
630
  {"shape":"UnexpectedLambdaException"},
418
631
  {"shape":"UserLambdaValidationException"},
419
632
  {"shape":"InvalidLambdaResponseException"},
420
- {"shape":"InternalErrorException"}
633
+ {"shape":"InternalErrorException"},
634
+ {"shape":"InvalidSmsRoleAccessPolicyException"},
635
+ {"shape":"InvalidSmsRoleTrustRelationshipException"},
636
+ {"shape":"InvalidEmailRoleAccessPolicyException"},
637
+ {"shape":"CodeDeliveryFailureException"},
638
+ {"shape":"LimitExceededException"}
421
639
  ],
422
640
  "authtype":"none"
423
641
  },
642
+ "GlobalSignOut":{
643
+ "name":"GlobalSignOut",
644
+ "http":{
645
+ "method":"POST",
646
+ "requestUri":"/"
647
+ },
648
+ "input":{"shape":"GlobalSignOutRequest"},
649
+ "output":{"shape":"GlobalSignOutResponse"},
650
+ "errors":[
651
+ {"shape":"ResourceNotFoundException"},
652
+ {"shape":"InvalidParameterException"},
653
+ {"shape":"NotAuthorizedException"},
654
+ {"shape":"TooManyRequestsException"},
655
+ {"shape":"InternalErrorException"}
656
+ ]
657
+ },
658
+ "InitiateAuth":{
659
+ "name":"InitiateAuth",
660
+ "http":{
661
+ "method":"POST",
662
+ "requestUri":"/"
663
+ },
664
+ "input":{"shape":"InitiateAuthRequest"},
665
+ "output":{"shape":"InitiateAuthResponse"},
666
+ "errors":[
667
+ {"shape":"ResourceNotFoundException"},
668
+ {"shape":"InvalidParameterException"},
669
+ {"shape":"NotAuthorizedException"},
670
+ {"shape":"TooManyRequestsException"},
671
+ {"shape":"InternalErrorException"},
672
+ {"shape":"UnexpectedLambdaException"},
673
+ {"shape":"InvalidUserPoolConfigurationException"},
674
+ {"shape":"UserLambdaValidationException"},
675
+ {"shape":"InvalidLambdaResponseException"},
676
+ {"shape":"PasswordResetRequiredException"},
677
+ {"shape":"UserNotFoundException"},
678
+ {"shape":"UserNotConfirmedException"}
679
+ ]
680
+ },
681
+ "ListDevices":{
682
+ "name":"ListDevices",
683
+ "http":{
684
+ "method":"POST",
685
+ "requestUri":"/"
686
+ },
687
+ "input":{"shape":"ListDevicesRequest"},
688
+ "output":{"shape":"ListDevicesResponse"},
689
+ "errors":[
690
+ {"shape":"InvalidParameterException"},
691
+ {"shape":"ResourceNotFoundException"},
692
+ {"shape":"NotAuthorizedException"},
693
+ {"shape":"InvalidUserPoolConfigurationException"},
694
+ {"shape":"TooManyRequestsException"},
695
+ {"shape":"InternalErrorException"}
696
+ ]
697
+ },
424
698
  "ListUserPoolClients":{
425
699
  "name":"ListUserPoolClients",
426
700
  "http":{
@@ -433,6 +707,7 @@
433
707
  {"shape":"InvalidParameterException"},
434
708
  {"shape":"ResourceNotFoundException"},
435
709
  {"shape":"TooManyRequestsException"},
710
+ {"shape":"NotAuthorizedException"},
436
711
  {"shape":"InternalErrorException"}
437
712
  ]
438
713
  },
@@ -447,6 +722,7 @@
447
722
  "errors":[
448
723
  {"shape":"InvalidParameterException"},
449
724
  {"shape":"TooManyRequestsException"},
725
+ {"shape":"NotAuthorizedException"},
450
726
  {"shape":"InternalErrorException"}
451
727
  ]
452
728
  },
@@ -462,6 +738,7 @@
462
738
  {"shape":"InvalidParameterException"},
463
739
  {"shape":"ResourceNotFoundException"},
464
740
  {"shape":"TooManyRequestsException"},
741
+ {"shape":"NotAuthorizedException"},
465
742
  {"shape":"InternalErrorException"}
466
743
  ]
467
744
  },
@@ -482,10 +759,44 @@
482
759
  {"shape":"InvalidLambdaResponseException"},
483
760
  {"shape":"TooManyRequestsException"},
484
761
  {"shape":"LimitExceededException"},
485
- {"shape":"InternalErrorException"}
762
+ {"shape":"InternalErrorException"},
763
+ {"shape":"InvalidSmsRoleAccessPolicyException"},
764
+ {"shape":"InvalidSmsRoleTrustRelationshipException"},
765
+ {"shape":"InvalidEmailRoleAccessPolicyException"},
766
+ {"shape":"CodeDeliveryFailureException"},
767
+ {"shape":"UserNotFoundException"}
486
768
  ],
487
769
  "authtype":"none"
488
770
  },
771
+ "RespondToAuthChallenge":{
772
+ "name":"RespondToAuthChallenge",
773
+ "http":{
774
+ "method":"POST",
775
+ "requestUri":"/"
776
+ },
777
+ "input":{"shape":"RespondToAuthChallengeRequest"},
778
+ "output":{"shape":"RespondToAuthChallengeResponse"},
779
+ "errors":[
780
+ {"shape":"ResourceNotFoundException"},
781
+ {"shape":"InvalidParameterException"},
782
+ {"shape":"NotAuthorizedException"},
783
+ {"shape":"CodeMismatchException"},
784
+ {"shape":"ExpiredCodeException"},
785
+ {"shape":"UnexpectedLambdaException"},
786
+ {"shape":"UserLambdaValidationException"},
787
+ {"shape":"InvalidLambdaResponseException"},
788
+ {"shape":"TooManyRequestsException"},
789
+ {"shape":"InvalidUserPoolConfigurationException"},
790
+ {"shape":"InternalErrorException"},
791
+ {"shape":"MFAMethodNotFoundException"},
792
+ {"shape":"PasswordResetRequiredException"},
793
+ {"shape":"UserNotFoundException"},
794
+ {"shape":"UserNotConfirmedException"},
795
+ {"shape":"InvalidSmsRoleAccessPolicyException"},
796
+ {"shape":"InvalidSmsRoleTrustRelationshipException"},
797
+ {"shape":"AliasExistsException"}
798
+ ]
799
+ },
489
800
  "SetUserSettings":{
490
801
  "name":"SetUserSettings",
491
802
  "http":{
@@ -519,10 +830,31 @@
519
830
  {"shape":"InvalidLambdaResponseException"},
520
831
  {"shape":"UsernameExistsException"},
521
832
  {"shape":"TooManyRequestsException"},
522
- {"shape":"InternalErrorException"}
833
+ {"shape":"InternalErrorException"},
834
+ {"shape":"InvalidSmsRoleAccessPolicyException"},
835
+ {"shape":"InvalidSmsRoleTrustRelationshipException"},
836
+ {"shape":"InvalidEmailRoleAccessPolicyException"},
837
+ {"shape":"CodeDeliveryFailureException"}
523
838
  ],
524
839
  "authtype":"none"
525
840
  },
841
+ "UpdateDeviceStatus":{
842
+ "name":"UpdateDeviceStatus",
843
+ "http":{
844
+ "method":"POST",
845
+ "requestUri":"/"
846
+ },
847
+ "input":{"shape":"UpdateDeviceStatusRequest"},
848
+ "output":{"shape":"UpdateDeviceStatusResponse"},
849
+ "errors":[
850
+ {"shape":"InvalidParameterException"},
851
+ {"shape":"ResourceNotFoundException"},
852
+ {"shape":"NotAuthorizedException"},
853
+ {"shape":"InvalidUserPoolConfigurationException"},
854
+ {"shape":"TooManyRequestsException"},
855
+ {"shape":"InternalErrorException"}
856
+ ]
857
+ },
526
858
  "UpdateUserAttributes":{
527
859
  "name":"UpdateUserAttributes",
528
860
  "http":{
@@ -542,7 +874,11 @@
542
874
  {"shape":"InvalidLambdaResponseException"},
543
875
  {"shape":"TooManyRequestsException"},
544
876
  {"shape":"AliasExistsException"},
545
- {"shape":"InternalErrorException"}
877
+ {"shape":"InternalErrorException"},
878
+ {"shape":"InvalidSmsRoleAccessPolicyException"},
879
+ {"shape":"InvalidSmsRoleTrustRelationshipException"},
880
+ {"shape":"InvalidEmailRoleAccessPolicyException"},
881
+ {"shape":"CodeDeliveryFailureException"}
546
882
  ],
547
883
  "authtype":"none"
548
884
  },
@@ -559,7 +895,11 @@
559
895
  {"shape":"InvalidParameterException"},
560
896
  {"shape":"ConcurrentModificationException"},
561
897
  {"shape":"TooManyRequestsException"},
562
- {"shape":"InternalErrorException"}
898
+ {"shape":"NotAuthorizedException"},
899
+ {"shape":"InternalErrorException"},
900
+ {"shape":"InvalidSmsRoleAccessPolicyException"},
901
+ {"shape":"InvalidSmsRoleTrustRelationshipException"},
902
+ {"shape":"InvalidEmailRoleAccessPolicyException"}
563
903
  ]
564
904
  },
565
905
  "UpdateUserPoolClient":{
@@ -574,6 +914,7 @@
574
914
  {"shape":"ResourceNotFoundException"},
575
915
  {"shape":"InvalidParameterException"},
576
916
  {"shape":"TooManyRequestsException"},
917
+ {"shape":"NotAuthorizedException"},
577
918
  {"shape":"InternalErrorException"}
578
919
  ]
579
920
  },
@@ -592,6 +933,7 @@
592
933
  {"shape":"ExpiredCodeException"},
593
934
  {"shape":"NotAuthorizedException"},
594
935
  {"shape":"TooManyRequestsException"},
936
+ {"shape":"LimitExceededException"},
595
937
  {"shape":"InternalErrorException"}
596
938
  ],
597
939
  "authtype":"none"
@@ -691,6 +1033,39 @@
691
1033
  "members":{
692
1034
  }
693
1035
  },
1036
+ "AdminForgetDeviceRequest":{
1037
+ "type":"structure",
1038
+ "required":[
1039
+ "UserPoolId",
1040
+ "Username",
1041
+ "DeviceKey"
1042
+ ],
1043
+ "members":{
1044
+ "UserPoolId":{"shape":"UserPoolIdType"},
1045
+ "Username":{"shape":"UsernameType"},
1046
+ "DeviceKey":{"shape":"DeviceKeyType"}
1047
+ }
1048
+ },
1049
+ "AdminGetDeviceRequest":{
1050
+ "type":"structure",
1051
+ "required":[
1052
+ "DeviceKey",
1053
+ "UserPoolId",
1054
+ "Username"
1055
+ ],
1056
+ "members":{
1057
+ "DeviceKey":{"shape":"DeviceKeyType"},
1058
+ "UserPoolId":{"shape":"UserPoolIdType"},
1059
+ "Username":{"shape":"UsernameType"}
1060
+ }
1061
+ },
1062
+ "AdminGetDeviceResponse":{
1063
+ "type":"structure",
1064
+ "required":["Device"],
1065
+ "members":{
1066
+ "Device":{"shape":"DeviceType"}
1067
+ }
1068
+ },
694
1069
  "AdminGetUserRequest":{
695
1070
  "type":"structure",
696
1071
  "required":[
@@ -715,6 +1090,50 @@
715
1090
  "MFAOptions":{"shape":"MFAOptionListType"}
716
1091
  }
717
1092
  },
1093
+ "AdminInitiateAuthRequest":{
1094
+ "type":"structure",
1095
+ "required":[
1096
+ "UserPoolId",
1097
+ "ClientId",
1098
+ "AuthFlow"
1099
+ ],
1100
+ "members":{
1101
+ "UserPoolId":{"shape":"UserPoolIdType"},
1102
+ "ClientId":{"shape":"ClientIdType"},
1103
+ "AuthFlow":{"shape":"AuthFlowType"},
1104
+ "AuthParameters":{"shape":"AuthParametersType"},
1105
+ "ClientMetadata":{"shape":"ClientMetadataType"}
1106
+ }
1107
+ },
1108
+ "AdminInitiateAuthResponse":{
1109
+ "type":"structure",
1110
+ "members":{
1111
+ "ChallengeName":{"shape":"ChallengeNameType"},
1112
+ "Session":{"shape":"SessionType"},
1113
+ "ChallengeParameters":{"shape":"ChallengeParametersType"},
1114
+ "AuthenticationResult":{"shape":"AuthenticationResultType"}
1115
+ }
1116
+ },
1117
+ "AdminListDevicesRequest":{
1118
+ "type":"structure",
1119
+ "required":[
1120
+ "UserPoolId",
1121
+ "Username"
1122
+ ],
1123
+ "members":{
1124
+ "UserPoolId":{"shape":"UserPoolIdType"},
1125
+ "Username":{"shape":"UsernameType"},
1126
+ "Limit":{"shape":"QueryLimitType"},
1127
+ "PaginationToken":{"shape":"SearchPaginationTokenType"}
1128
+ }
1129
+ },
1130
+ "AdminListDevicesResponse":{
1131
+ "type":"structure",
1132
+ "members":{
1133
+ "Devices":{"shape":"DeviceListType"},
1134
+ "PaginationToken":{"shape":"SearchPaginationTokenType"}
1135
+ }
1136
+ },
718
1137
  "AdminResetUserPasswordRequest":{
719
1138
  "type":"structure",
720
1139
  "required":[
@@ -723,28 +1142,71 @@
723
1142
  ],
724
1143
  "members":{
725
1144
  "UserPoolId":{"shape":"UserPoolIdType"},
726
- "Username":{"shape":"UsernameType"}
1145
+ "Username":{"shape":"UsernameType"}
1146
+ }
1147
+ },
1148
+ "AdminResetUserPasswordResponse":{
1149
+ "type":"structure",
1150
+ "members":{
1151
+ }
1152
+ },
1153
+ "AdminRespondToAuthChallengeRequest":{
1154
+ "type":"structure",
1155
+ "required":[
1156
+ "UserPoolId",
1157
+ "ClientId",
1158
+ "ChallengeName"
1159
+ ],
1160
+ "members":{
1161
+ "UserPoolId":{"shape":"UserPoolIdType"},
1162
+ "ClientId":{"shape":"ClientIdType"},
1163
+ "ChallengeName":{"shape":"ChallengeNameType"},
1164
+ "ChallengeResponses":{"shape":"ChallengeResponsesType"},
1165
+ "Session":{"shape":"SessionType"}
1166
+ }
1167
+ },
1168
+ "AdminRespondToAuthChallengeResponse":{
1169
+ "type":"structure",
1170
+ "members":{
1171
+ "ChallengeName":{"shape":"ChallengeNameType"},
1172
+ "Session":{"shape":"SessionType"},
1173
+ "ChallengeParameters":{"shape":"ChallengeParametersType"},
1174
+ "AuthenticationResult":{"shape":"AuthenticationResultType"}
1175
+ }
1176
+ },
1177
+ "AdminSetUserSettingsRequest":{
1178
+ "type":"structure",
1179
+ "required":[
1180
+ "UserPoolId",
1181
+ "Username",
1182
+ "MFAOptions"
1183
+ ],
1184
+ "members":{
1185
+ "UserPoolId":{"shape":"UserPoolIdType"},
1186
+ "Username":{"shape":"UsernameType"},
1187
+ "MFAOptions":{"shape":"MFAOptionListType"}
727
1188
  }
728
1189
  },
729
- "AdminResetUserPasswordResponse":{
1190
+ "AdminSetUserSettingsResponse":{
730
1191
  "type":"structure",
731
1192
  "members":{
732
1193
  }
733
1194
  },
734
- "AdminSetUserSettingsRequest":{
1195
+ "AdminUpdateDeviceStatusRequest":{
735
1196
  "type":"structure",
736
1197
  "required":[
737
1198
  "UserPoolId",
738
1199
  "Username",
739
- "MFAOptions"
1200
+ "DeviceKey"
740
1201
  ],
741
1202
  "members":{
742
1203
  "UserPoolId":{"shape":"UserPoolIdType"},
743
1204
  "Username":{"shape":"UsernameType"},
744
- "MFAOptions":{"shape":"MFAOptionListType"}
1205
+ "DeviceKey":{"shape":"DeviceKeyType"},
1206
+ "DeviceRememberedStatus":{"shape":"DeviceRememberedStatusType"}
745
1207
  }
746
1208
  },
747
- "AdminSetUserSettingsResponse":{
1209
+ "AdminUpdateDeviceStatusResponse":{
748
1210
  "type":"structure",
749
1211
  "members":{
750
1212
  }
@@ -767,6 +1229,22 @@
767
1229
  "members":{
768
1230
  }
769
1231
  },
1232
+ "AdminUserGlobalSignOutRequest":{
1233
+ "type":"structure",
1234
+ "required":[
1235
+ "UserPoolId",
1236
+ "Username"
1237
+ ],
1238
+ "members":{
1239
+ "UserPoolId":{"shape":"UserPoolIdType"},
1240
+ "Username":{"shape":"UsernameType"}
1241
+ }
1242
+ },
1243
+ "AdminUserGlobalSignOutResponse":{
1244
+ "type":"structure",
1245
+ "members":{
1246
+ }
1247
+ },
770
1248
  "AliasAttributeType":{
771
1249
  "type":"string",
772
1250
  "enum":[
@@ -789,7 +1267,8 @@
789
1267
  "ArnType":{
790
1268
  "type":"string",
791
1269
  "max":2048,
792
- "min":20
1270
+ "min":20,
1271
+ "pattern":"arn:[\\w+=/,.@-]+:[\\w+=/,.@-]+:([\\w+=/,.@-]*)?:[0-9]+:[\\w+=/,.@-]+(:[\\w+=/,.@-]+)?(:[\\w+=/,.@-]+)?"
793
1272
  },
794
1273
  "AttributeDataType":{
795
1274
  "type":"string",
@@ -824,10 +1303,56 @@
824
1303
  },
825
1304
  "AttributeValueType":{
826
1305
  "type":"string",
827
- "max":256,
1306
+ "max":2048,
828
1307
  "sensitive":true
829
1308
  },
1309
+ "AuthFlowType":{
1310
+ "type":"string",
1311
+ "enum":[
1312
+ "USER_SRP_AUTH",
1313
+ "REFRESH_TOKEN_AUTH",
1314
+ "CUSTOM_AUTH",
1315
+ "ADMIN_NO_SRP_AUTH"
1316
+ ]
1317
+ },
1318
+ "AuthParametersType":{
1319
+ "type":"map",
1320
+ "key":{"shape":"StringType"},
1321
+ "value":{"shape":"StringType"}
1322
+ },
1323
+ "AuthenticationResultType":{
1324
+ "type":"structure",
1325
+ "members":{
1326
+ "AccessToken":{"shape":"TokenModelType"},
1327
+ "ExpiresIn":{"shape":"IntegerType"},
1328
+ "TokenType":{"shape":"StringType"},
1329
+ "RefreshToken":{"shape":"TokenModelType"},
1330
+ "IdToken":{"shape":"TokenModelType"},
1331
+ "NewDeviceMetadata":{"shape":"NewDeviceMetadataType"}
1332
+ }
1333
+ },
830
1334
  "BooleanType":{"type":"boolean"},
1335
+ "ChallengeNameType":{
1336
+ "type":"string",
1337
+ "enum":[
1338
+ "SMS_MFA",
1339
+ "PASSWORD_VERIFIER",
1340
+ "CUSTOM_CHALLENGE",
1341
+ "DEVICE_SRP_AUTH",
1342
+ "DEVICE_PASSWORD_VERIFIER",
1343
+ "ADMIN_NO_SRP_AUTH"
1344
+ ]
1345
+ },
1346
+ "ChallengeParametersType":{
1347
+ "type":"map",
1348
+ "key":{"shape":"StringType"},
1349
+ "value":{"shape":"StringType"}
1350
+ },
1351
+ "ChallengeResponsesType":{
1352
+ "type":"map",
1353
+ "key":{"shape":"StringType"},
1354
+ "value":{"shape":"StringType"}
1355
+ },
831
1356
  "ChangePasswordRequest":{
832
1357
  "type":"structure",
833
1358
  "required":[
@@ -852,12 +1377,26 @@
852
1377
  "pattern":"[\\w+]+",
853
1378
  "sensitive":true
854
1379
  },
1380
+ "ClientMetadataType":{
1381
+ "type":"map",
1382
+ "key":{"shape":"StringType"},
1383
+ "value":{"shape":"StringType"}
1384
+ },
855
1385
  "ClientNameType":{
856
1386
  "type":"string",
857
1387
  "max":128,
858
1388
  "min":1,
859
1389
  "pattern":"[\\w\\s+=,.@-]+"
860
1390
  },
1391
+ "ClientPermissionListType":{
1392
+ "type":"list",
1393
+ "member":{"shape":"ClientPermissionType"}
1394
+ },
1395
+ "ClientPermissionType":{
1396
+ "type":"string",
1397
+ "max":2048,
1398
+ "min":1
1399
+ },
861
1400
  "ClientSecretType":{
862
1401
  "type":"string",
863
1402
  "max":64,
@@ -877,6 +1416,13 @@
877
1416
  "AttributeName":{"shape":"AttributeNameType"}
878
1417
  }
879
1418
  },
1419
+ "CodeDeliveryFailureException":{
1420
+ "type":"structure",
1421
+ "members":{
1422
+ "message":{"shape":"MessageType"}
1423
+ },
1424
+ "exception":true
1425
+ },
880
1426
  "CodeMismatchException":{
881
1427
  "type":"structure",
882
1428
  "members":{
@@ -891,6 +1437,25 @@
891
1437
  },
892
1438
  "exception":true
893
1439
  },
1440
+ "ConfirmDeviceRequest":{
1441
+ "type":"structure",
1442
+ "required":[
1443
+ "AccessToken",
1444
+ "DeviceKey"
1445
+ ],
1446
+ "members":{
1447
+ "AccessToken":{"shape":"TokenModelType"},
1448
+ "DeviceKey":{"shape":"DeviceKeyType"},
1449
+ "DeviceSecretVerifierConfig":{"shape":"DeviceSecretVerifierConfigType"},
1450
+ "DeviceName":{"shape":"DeviceNameType"}
1451
+ }
1452
+ },
1453
+ "ConfirmDeviceResponse":{
1454
+ "type":"structure",
1455
+ "members":{
1456
+ "UserConfirmationNecessary":{"shape":"BooleanType"}
1457
+ }
1458
+ },
894
1459
  "ConfirmForgotPasswordRequest":{
895
1460
  "type":"structure",
896
1461
  "required":[
@@ -947,7 +1512,11 @@
947
1512
  "members":{
948
1513
  "UserPoolId":{"shape":"UserPoolIdType"},
949
1514
  "ClientName":{"shape":"ClientNameType"},
950
- "GenerateSecret":{"shape":"GenerateSecret"}
1515
+ "GenerateSecret":{"shape":"GenerateSecret"},
1516
+ "RefreshTokenValidity":{"shape":"RefreshTokenValidityType"},
1517
+ "ReadAttributes":{"shape":"ClientPermissionListType"},
1518
+ "WriteAttributes":{"shape":"ClientPermissionListType"},
1519
+ "ExplicitAuthFlows":{"shape":"ExplicitAuthFlowsListType"}
951
1520
  }
952
1521
  },
953
1522
  "CreateUserPoolClientResponse":{
@@ -969,7 +1538,10 @@
969
1538
  "EmailVerificationMessage":{"shape":"EmailVerificationMessageType"},
970
1539
  "EmailVerificationSubject":{"shape":"EmailVerificationSubjectType"},
971
1540
  "SmsAuthenticationMessage":{"shape":"SmsVerificationMessageType"},
972
- "MfaConfiguration":{"shape":"UserPoolMfaType"}
1541
+ "MfaConfiguration":{"shape":"UserPoolMfaType"},
1542
+ "DeviceConfiguration":{"shape":"DeviceConfigurationType"},
1543
+ "EmailConfiguration":{"shape":"EmailConfigurationType"},
1544
+ "SmsConfiguration":{"shape":"SmsConfigurationType"}
973
1545
  }
974
1546
  },
975
1547
  "CreateUserPoolResponse":{
@@ -1065,6 +1637,63 @@
1065
1637
  "UserPool":{"shape":"UserPoolType"}
1066
1638
  }
1067
1639
  },
1640
+ "DeviceConfigurationType":{
1641
+ "type":"structure",
1642
+ "members":{
1643
+ "ChallengeRequiredOnNewDevice":{"shape":"BooleanType"},
1644
+ "DeviceOnlyRememberedOnUserPrompt":{"shape":"BooleanType"}
1645
+ }
1646
+ },
1647
+ "DeviceKeyType":{
1648
+ "type":"string",
1649
+ "max":55,
1650
+ "min":1,
1651
+ "pattern":"[\\w-]+_[0-9a-f-]+"
1652
+ },
1653
+ "DeviceListType":{
1654
+ "type":"list",
1655
+ "member":{"shape":"DeviceType"}
1656
+ },
1657
+ "DeviceNameType":{
1658
+ "type":"string",
1659
+ "max":150,
1660
+ "min":1
1661
+ },
1662
+ "DeviceRememberedStatusType":{
1663
+ "type":"string",
1664
+ "enum":[
1665
+ "remembered",
1666
+ "not_remembered"
1667
+ ]
1668
+ },
1669
+ "DeviceSecretVerifierConfigType":{
1670
+ "type":"structure",
1671
+ "members":{
1672
+ "PasswordVerifier":{"shape":"StringType"},
1673
+ "Salt":{"shape":"StringType"}
1674
+ }
1675
+ },
1676
+ "DeviceType":{
1677
+ "type":"structure",
1678
+ "members":{
1679
+ "DeviceKey":{"shape":"DeviceKeyType"},
1680
+ "DeviceAttributes":{"shape":"AttributeListType"},
1681
+ "DeviceCreateDate":{"shape":"DateType"},
1682
+ "DeviceLastModifiedDate":{"shape":"DateType"},
1683
+ "DeviceLastAuthenticatedDate":{"shape":"DateType"}
1684
+ }
1685
+ },
1686
+ "EmailAddressType":{
1687
+ "type":"string",
1688
+ "pattern":"[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}]+@[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}]+"
1689
+ },
1690
+ "EmailConfigurationType":{
1691
+ "type":"structure",
1692
+ "members":{
1693
+ "SourceArn":{"shape":"ArnType"},
1694
+ "ReplyToEmailAddress":{"shape":"EmailAddressType"}
1695
+ }
1696
+ },
1068
1697
  "EmailVerificationMessageType":{
1069
1698
  "type":"string",
1070
1699
  "max":2048,
@@ -1084,7 +1713,23 @@
1084
1713
  },
1085
1714
  "exception":true
1086
1715
  },
1716
+ "ExplicitAuthFlowsListType":{
1717
+ "type":"list",
1718
+ "member":{"shape":"ExplicitAuthFlowsType"}
1719
+ },
1720
+ "ExplicitAuthFlowsType":{
1721
+ "type":"string",
1722
+ "enum":["ADMIN_NO_SRP_AUTH"]
1723
+ },
1087
1724
  "ForceAliasCreation":{"type":"boolean"},
1725
+ "ForgetDeviceRequest":{
1726
+ "type":"structure",
1727
+ "required":["DeviceKey"],
1728
+ "members":{
1729
+ "AccessToken":{"shape":"TokenModelType"},
1730
+ "DeviceKey":{"shape":"DeviceKeyType"}
1731
+ }
1732
+ },
1088
1733
  "ForgotPasswordRequest":{
1089
1734
  "type":"structure",
1090
1735
  "required":[
@@ -1104,6 +1749,21 @@
1104
1749
  }
1105
1750
  },
1106
1751
  "GenerateSecret":{"type":"boolean"},
1752
+ "GetDeviceRequest":{
1753
+ "type":"structure",
1754
+ "required":["DeviceKey"],
1755
+ "members":{
1756
+ "DeviceKey":{"shape":"DeviceKeyType"},
1757
+ "AccessToken":{"shape":"TokenModelType"}
1758
+ }
1759
+ },
1760
+ "GetDeviceResponse":{
1761
+ "type":"structure",
1762
+ "required":["Device"],
1763
+ "members":{
1764
+ "Device":{"shape":"DeviceType"}
1765
+ }
1766
+ },
1107
1767
  "GetUserAttributeVerificationCodeRequest":{
1108
1768
  "type":"structure",
1109
1769
  "required":["AttributeName"],
@@ -1136,6 +1796,39 @@
1136
1796
  "MFAOptions":{"shape":"MFAOptionListType"}
1137
1797
  }
1138
1798
  },
1799
+ "GlobalSignOutRequest":{
1800
+ "type":"structure",
1801
+ "members":{
1802
+ "AccessToken":{"shape":"TokenModelType"}
1803
+ }
1804
+ },
1805
+ "GlobalSignOutResponse":{
1806
+ "type":"structure",
1807
+ "members":{
1808
+ }
1809
+ },
1810
+ "InitiateAuthRequest":{
1811
+ "type":"structure",
1812
+ "required":[
1813
+ "AuthFlow",
1814
+ "ClientId"
1815
+ ],
1816
+ "members":{
1817
+ "AuthFlow":{"shape":"AuthFlowType"},
1818
+ "AuthParameters":{"shape":"AuthParametersType"},
1819
+ "ClientMetadata":{"shape":"ClientMetadataType"},
1820
+ "ClientId":{"shape":"ClientIdType"}
1821
+ }
1822
+ },
1823
+ "InitiateAuthResponse":{
1824
+ "type":"structure",
1825
+ "members":{
1826
+ "ChallengeName":{"shape":"ChallengeNameType"},
1827
+ "Session":{"shape":"SessionType"},
1828
+ "ChallengeParameters":{"shape":"ChallengeParametersType"},
1829
+ "AuthenticationResult":{"shape":"AuthenticationResultType"}
1830
+ }
1831
+ },
1139
1832
  "IntegerType":{"type":"integer"},
1140
1833
  "InternalErrorException":{
1141
1834
  "type":"structure",
@@ -1145,6 +1838,13 @@
1145
1838
  "exception":true,
1146
1839
  "fault":true
1147
1840
  },
1841
+ "InvalidEmailRoleAccessPolicyException":{
1842
+ "type":"structure",
1843
+ "members":{
1844
+ "message":{"shape":"MessageType"}
1845
+ },
1846
+ "exception":true
1847
+ },
1148
1848
  "InvalidLambdaResponseException":{
1149
1849
  "type":"structure",
1150
1850
  "members":{
@@ -1166,6 +1866,27 @@
1166
1866
  },
1167
1867
  "exception":true
1168
1868
  },
1869
+ "InvalidSmsRoleAccessPolicyException":{
1870
+ "type":"structure",
1871
+ "members":{
1872
+ "message":{"shape":"MessageType"}
1873
+ },
1874
+ "exception":true
1875
+ },
1876
+ "InvalidSmsRoleTrustRelationshipException":{
1877
+ "type":"structure",
1878
+ "members":{
1879
+ "message":{"shape":"MessageType"}
1880
+ },
1881
+ "exception":true
1882
+ },
1883
+ "InvalidUserPoolConfigurationException":{
1884
+ "type":"structure",
1885
+ "members":{
1886
+ "message":{"shape":"MessageType"}
1887
+ },
1888
+ "exception":true
1889
+ },
1169
1890
  "LambdaConfigType":{
1170
1891
  "type":"structure",
1171
1892
  "members":{
@@ -1173,7 +1894,10 @@
1173
1894
  "CustomMessage":{"shape":"ArnType"},
1174
1895
  "PostConfirmation":{"shape":"ArnType"},
1175
1896
  "PreAuthentication":{"shape":"ArnType"},
1176
- "PostAuthentication":{"shape":"ArnType"}
1897
+ "PostAuthentication":{"shape":"ArnType"},
1898
+ "DefineAuthChallenge":{"shape":"ArnType"},
1899
+ "CreateAuthChallenge":{"shape":"ArnType"},
1900
+ "VerifyAuthChallengeResponse":{"shape":"ArnType"}
1177
1901
  }
1178
1902
  },
1179
1903
  "LimitExceededException":{
@@ -1183,6 +1907,22 @@
1183
1907
  },
1184
1908
  "exception":true
1185
1909
  },
1910
+ "ListDevicesRequest":{
1911
+ "type":"structure",
1912
+ "required":["AccessToken"],
1913
+ "members":{
1914
+ "AccessToken":{"shape":"TokenModelType"},
1915
+ "Limit":{"shape":"QueryLimitType"},
1916
+ "PaginationToken":{"shape":"SearchPaginationTokenType"}
1917
+ }
1918
+ },
1919
+ "ListDevicesResponse":{
1920
+ "type":"structure",
1921
+ "members":{
1922
+ "Devices":{"shape":"DeviceListType"},
1923
+ "PaginationToken":{"shape":"SearchPaginationTokenType"}
1924
+ }
1925
+ },
1186
1926
  "ListUserPoolClientsRequest":{
1187
1927
  "type":"structure",
1188
1928
  "required":["UserPoolId"],
@@ -1204,7 +1944,7 @@
1204
1944
  "required":["MaxResults"],
1205
1945
  "members":{
1206
1946
  "NextToken":{"shape":"PaginationKeyType"},
1207
- "MaxResults":{"shape":"QueryLimitType"}
1947
+ "MaxResults":{"shape":"PoolQueryLimitType"}
1208
1948
  }
1209
1949
  },
1210
1950
  "ListUserPoolsResponse":{
@@ -1222,7 +1962,7 @@
1222
1962
  "AttributesToGet":{"shape":"SearchedAttributeNamesListType"},
1223
1963
  "Limit":{"shape":"QueryLimitType"},
1224
1964
  "PaginationToken":{"shape":"SearchPaginationTokenType"},
1225
- "UserStatus":{"shape":"UserStatusType"}
1965
+ "Filter":{"shape":"UserFilterType"}
1226
1966
  }
1227
1967
  },
1228
1968
  "ListUsersResponse":{
@@ -1232,6 +1972,13 @@
1232
1972
  "PaginationToken":{"shape":"SearchPaginationTokenType"}
1233
1973
  }
1234
1974
  },
1975
+ "MFAMethodNotFoundException":{
1976
+ "type":"structure",
1977
+ "members":{
1978
+ "message":{"shape":"MessageType"}
1979
+ },
1980
+ "exception":true
1981
+ },
1235
1982
  "MFAOptionListType":{
1236
1983
  "type":"list",
1237
1984
  "member":{"shape":"MFAOptionType"}
@@ -1244,6 +1991,13 @@
1244
1991
  }
1245
1992
  },
1246
1993
  "MessageType":{"type":"string"},
1994
+ "NewDeviceMetadataType":{
1995
+ "type":"structure",
1996
+ "members":{
1997
+ "DeviceKey":{"shape":"DeviceKeyType"},
1998
+ "DeviceGroupKey":{"shape":"StringType"}
1999
+ }
2000
+ },
1247
2001
  "NotAuthorizedException":{
1248
2002
  "type":"structure",
1249
2003
  "members":{
@@ -1260,7 +2014,8 @@
1260
2014
  },
1261
2015
  "PaginationKey":{
1262
2016
  "type":"string",
1263
- "min":1
2017
+ "min":1,
2018
+ "pattern":"[\\S]+"
1264
2019
  },
1265
2020
  "PaginationKeyType":{
1266
2021
  "type":"string",
@@ -1282,6 +2037,13 @@
1282
2037
  "RequireSymbols":{"shape":"BooleanType"}
1283
2038
  }
1284
2039
  },
2040
+ "PasswordResetRequiredException":{
2041
+ "type":"structure",
2042
+ "members":{
2043
+ "message":{"shape":"MessageType"}
2044
+ },
2045
+ "exception":true
2046
+ },
1285
2047
  "PasswordType":{
1286
2048
  "type":"string",
1287
2049
  "max":256,
@@ -1289,6 +2051,11 @@
1289
2051
  "pattern":"[\\S]+",
1290
2052
  "sensitive":true
1291
2053
  },
2054
+ "PoolQueryLimitType":{
2055
+ "type":"integer",
2056
+ "max":60,
2057
+ "min":1
2058
+ },
1292
2059
  "QueryLimit":{
1293
2060
  "type":"integer",
1294
2061
  "max":60,
@@ -1297,7 +2064,12 @@
1297
2064
  "QueryLimitType":{
1298
2065
  "type":"integer",
1299
2066
  "max":60,
1300
- "min":1
2067
+ "min":0
2068
+ },
2069
+ "RefreshTokenValidityType":{
2070
+ "type":"integer",
2071
+ "max":3650,
2072
+ "min":0
1301
2073
  },
1302
2074
  "ResendConfirmationCodeRequest":{
1303
2075
  "type":"structure",
@@ -1324,6 +2096,28 @@
1324
2096
  },
1325
2097
  "exception":true
1326
2098
  },
2099
+ "RespondToAuthChallengeRequest":{
2100
+ "type":"structure",
2101
+ "required":[
2102
+ "ClientId",
2103
+ "ChallengeName"
2104
+ ],
2105
+ "members":{
2106
+ "ClientId":{"shape":"ClientIdType"},
2107
+ "ChallengeName":{"shape":"ChallengeNameType"},
2108
+ "Session":{"shape":"SessionType"},
2109
+ "ChallengeResponses":{"shape":"ChallengeResponsesType"}
2110
+ }
2111
+ },
2112
+ "RespondToAuthChallengeResponse":{
2113
+ "type":"structure",
2114
+ "members":{
2115
+ "ChallengeName":{"shape":"ChallengeNameType"},
2116
+ "Session":{"shape":"SessionType"},
2117
+ "ChallengeParameters":{"shape":"ChallengeParametersType"},
2118
+ "AuthenticationResult":{"shape":"AuthenticationResultType"}
2119
+ }
2120
+ },
1327
2121
  "SchemaAttributeType":{
1328
2122
  "type":"structure",
1329
2123
  "members":{
@@ -1344,7 +2138,8 @@
1344
2138
  },
1345
2139
  "SearchPaginationTokenType":{
1346
2140
  "type":"string",
1347
- "min":1
2141
+ "min":1,
2142
+ "pattern":"[\\S]+"
1348
2143
  },
1349
2144
  "SearchedAttributeNamesListType":{
1350
2145
  "type":"list",
@@ -1357,6 +2152,11 @@
1357
2152
  "pattern":"[\\w+=/]+",
1358
2153
  "sensitive":true
1359
2154
  },
2155
+ "SessionType":{
2156
+ "type":"string",
2157
+ "max":2048,
2158
+ "min":20
2159
+ },
1360
2160
  "SetUserSettingsRequest":{
1361
2161
  "type":"structure",
1362
2162
  "required":[
@@ -1396,6 +2196,13 @@
1396
2196
  "CodeDeliveryDetails":{"shape":"CodeDeliveryDetailsType"}
1397
2197
  }
1398
2198
  },
2199
+ "SmsConfigurationType":{
2200
+ "type":"structure",
2201
+ "members":{
2202
+ "SnsCallerArn":{"shape":"ArnType"},
2203
+ "ExternalId":{"shape":"StringType"}
2204
+ }
2205
+ },
1399
2206
  "SmsVerificationMessageType":{
1400
2207
  "type":"string",
1401
2208
  "max":140,
@@ -1419,6 +2226,7 @@
1419
2226
  "StringType":{"type":"string"},
1420
2227
  "TokenModelType":{
1421
2228
  "type":"string",
2229
+ "pattern":"[A-Za-z0-9-_=.]+",
1422
2230
  "sensitive":true
1423
2231
  },
1424
2232
  "TooManyFailedAttemptsException":{
@@ -1442,6 +2250,23 @@
1442
2250
  },
1443
2251
  "exception":true
1444
2252
  },
2253
+ "UpdateDeviceStatusRequest":{
2254
+ "type":"structure",
2255
+ "required":[
2256
+ "AccessToken",
2257
+ "DeviceKey"
2258
+ ],
2259
+ "members":{
2260
+ "AccessToken":{"shape":"TokenModelType"},
2261
+ "DeviceKey":{"shape":"DeviceKeyType"},
2262
+ "DeviceRememberedStatus":{"shape":"DeviceRememberedStatusType"}
2263
+ }
2264
+ },
2265
+ "UpdateDeviceStatusResponse":{
2266
+ "type":"structure",
2267
+ "members":{
2268
+ }
2269
+ },
1445
2270
  "UpdateUserAttributesRequest":{
1446
2271
  "type":"structure",
1447
2272
  "required":["UserAttributes"],
@@ -1465,7 +2290,11 @@
1465
2290
  "members":{
1466
2291
  "UserPoolId":{"shape":"UserPoolIdType"},
1467
2292
  "ClientId":{"shape":"ClientIdType"},
1468
- "ClientName":{"shape":"ClientNameType"}
2293
+ "ClientName":{"shape":"ClientNameType"},
2294
+ "RefreshTokenValidity":{"shape":"RefreshTokenValidityType"},
2295
+ "ReadAttributes":{"shape":"ClientPermissionListType"},
2296
+ "WriteAttributes":{"shape":"ClientPermissionListType"},
2297
+ "ExplicitAuthFlows":{"shape":"ExplicitAuthFlowsListType"}
1469
2298
  }
1470
2299
  },
1471
2300
  "UpdateUserPoolClientResponse":{
@@ -1486,7 +2315,10 @@
1486
2315
  "EmailVerificationMessage":{"shape":"EmailVerificationMessageType"},
1487
2316
  "EmailVerificationSubject":{"shape":"EmailVerificationSubjectType"},
1488
2317
  "SmsAuthenticationMessage":{"shape":"SmsVerificationMessageType"},
1489
- "MfaConfiguration":{"shape":"UserPoolMfaType"}
2318
+ "MfaConfiguration":{"shape":"UserPoolMfaType"},
2319
+ "DeviceConfiguration":{"shape":"DeviceConfigurationType"},
2320
+ "EmailConfiguration":{"shape":"EmailConfigurationType"},
2321
+ "SmsConfiguration":{"shape":"SmsConfigurationType"}
1490
2322
  }
1491
2323
  },
1492
2324
  "UpdateUserPoolResponse":{
@@ -1494,6 +2326,10 @@
1494
2326
  "members":{
1495
2327
  }
1496
2328
  },
2329
+ "UserFilterType":{
2330
+ "type":"string",
2331
+ "max":256
2332
+ },
1497
2333
  "UserLambdaValidationException":{
1498
2334
  "type":"structure",
1499
2335
  "members":{
@@ -1501,6 +2337,20 @@
1501
2337
  },
1502
2338
  "exception":true
1503
2339
  },
2340
+ "UserNotConfirmedException":{
2341
+ "type":"structure",
2342
+ "members":{
2343
+ "message":{"shape":"MessageType"}
2344
+ },
2345
+ "exception":true
2346
+ },
2347
+ "UserNotFoundException":{
2348
+ "type":"structure",
2349
+ "members":{
2350
+ "message":{"shape":"MessageType"}
2351
+ },
2352
+ "exception":true
2353
+ },
1504
2354
  "UserPoolClientDescription":{
1505
2355
  "type":"structure",
1506
2356
  "members":{
@@ -1521,7 +2371,11 @@
1521
2371
  "ClientId":{"shape":"ClientIdType"},
1522
2372
  "ClientSecret":{"shape":"ClientSecretType"},
1523
2373
  "LastModifiedDate":{"shape":"DateType"},
1524
- "CreationDate":{"shape":"DateType"}
2374
+ "CreationDate":{"shape":"DateType"},
2375
+ "RefreshTokenValidity":{"shape":"RefreshTokenValidityType"},
2376
+ "ReadAttributes":{"shape":"ClientPermissionListType"},
2377
+ "WriteAttributes":{"shape":"ClientPermissionListType"},
2378
+ "ExplicitAuthFlows":{"shape":"ExplicitAuthFlowsListType"}
1525
2379
  }
1526
2380
  },
1527
2381
  "UserPoolDescriptionType":{
@@ -1583,7 +2437,12 @@
1583
2437
  "EmailVerificationSubject":{"shape":"EmailVerificationSubjectType"},
1584
2438
  "SmsAuthenticationMessage":{"shape":"SmsVerificationMessageType"},
1585
2439
  "MfaConfiguration":{"shape":"UserPoolMfaType"},
1586
- "EstimatedNumberOfUsers":{"shape":"IntegerType"}
2440
+ "DeviceConfiguration":{"shape":"DeviceConfigurationType"},
2441
+ "EstimatedNumberOfUsers":{"shape":"IntegerType"},
2442
+ "EmailConfiguration":{"shape":"EmailConfigurationType"},
2443
+ "SmsConfiguration":{"shape":"SmsConfigurationType"},
2444
+ "SmsConfigurationFailure":{"shape":"StringType"},
2445
+ "EmailConfigurationFailure":{"shape":"StringType"}
1587
2446
  }
1588
2447
  },
1589
2448
  "UserStatusType":{
@@ -1593,7 +2452,8 @@
1593
2452
  "CONFIRMED",
1594
2453
  "ARCHIVED",
1595
2454
  "COMPROMISED",
1596
- "UNKNOWN"
2455
+ "UNKNOWN",
2456
+ "RESET_REQUIRED"
1597
2457
  ]
1598
2458
  },
1599
2459
  "UserType":{