aws-sdk-core 2.5.7 → 2.5.8

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: b89607473b4a5609fbc1808221557a8574a13111
4
- data.tar.gz: 03461a5eb32578948a2319e6920f40c2e637141f
3
+ metadata.gz: 57821e27dc351e034026e4a96c533462785780b3
4
+ data.tar.gz: 1aecd82e248c7d671fbd6c0dd328ae189b9612a0
5
5
  SHA512:
6
- metadata.gz: 8b1f9bbaa768a6e9a22904fb90d9c8420de7c2c2209ff1532d0e2e337206c3d9df9ced249027b2f79d050185ea23de9fec740a9e7d063403b1fde961d87f3683
7
- data.tar.gz: 53b84fbb298941150c02178af2ce4a8c708eedda817edd4ce116070d87e2852de17ae08a3567cc9abbb6a5d1f1fa2674f6d8ab5633eb4806e8f096a47c58b721
6
+ metadata.gz: e394834a6c2e8a1ff5d3a871c948f63e3ed5456b99927cfac2d3408e7f0fcfc17384cb048231c3946f2e6900f33d6d73914893b897ec338a5cc64a2b0db6a136
7
+ data.tar.gz: 0a9e6c390fec10ddee82c01e36be09e2ba42c3e3edbd5931afac16d0762482c010addbe620bcce7ac65962e4ed04be6306ee4fdc08fb2dc1fa8f5fa50adb86ba
@@ -363,7 +363,10 @@
363
363
  },
364
364
  "ScalableDimension":{
365
365
  "type":"string",
366
- "enum":["ecs:service:DesiredCount"]
366
+ "enum":[
367
+ "ecs:service:DesiredCount",
368
+ "ec2:spot-fleet-request:TargetCapacity"
369
+ ]
367
370
  },
368
371
  "ScalableTarget":{
369
372
  "type":"structure",
@@ -461,7 +464,10 @@
461
464
  },
462
465
  "ServiceNamespace":{
463
466
  "type":"string",
464
- "enum":["ecs"]
467
+ "enum":[
468
+ "ecs",
469
+ "ec2"
470
+ ]
465
471
  },
466
472
  "StepAdjustment":{
467
473
  "type":"structure",
@@ -1,5 +1,257 @@
1
1
  {
2
2
  "version": "1.0",
3
3
  "examples": {
4
+ "DeleteScalingPolicy": [
5
+ {
6
+ "input": {
7
+ "PolicyName": "web-app-cpu-lt-25",
8
+ "ResourceId": "service/default/web-app",
9
+ "ScalableDimension": "ecs:service:DesiredCount",
10
+ "ServiceNamespace": "ecs"
11
+ },
12
+ "output": {
13
+ },
14
+ "comments": {
15
+ "input": {
16
+ },
17
+ "output": {
18
+ }
19
+ },
20
+ "description": "This example deletes a scaling policy for the Amazon ECS service called web-app, which is running in the default cluster.",
21
+ "id": "to-delete-a-scaling-policy-1470863892689",
22
+ "title": "To delete a scaling policy"
23
+ }
24
+ ],
25
+ "DeregisterScalableTarget": [
26
+ {
27
+ "input": {
28
+ "ResourceId": "service/default/web-app",
29
+ "ScalableDimension": "ecs:service:DesiredCount",
30
+ "ServiceNamespace": "ecs"
31
+ },
32
+ "output": {
33
+ },
34
+ "comments": {
35
+ "input": {
36
+ },
37
+ "output": {
38
+ }
39
+ },
40
+ "description": "This example deregisters a scalable target for an Amazon ECS service called web-app that is running in the default cluster.",
41
+ "id": "to-deregister-a-scalable-target-1470864164895",
42
+ "title": "To deregister a scalable target"
43
+ }
44
+ ],
45
+ "DescribeScalableTargets": [
46
+ {
47
+ "input": {
48
+ "ServiceNamespace": "ecs"
49
+ },
50
+ "output": {
51
+ "ScalableTargets": [
52
+ {
53
+ "CreationTime": "2016-05-06T11:21:46.199Z",
54
+ "MaxCapacity": 10,
55
+ "MinCapacity": 1,
56
+ "ResourceId": "service/default/web-app",
57
+ "RoleARN": "arn:aws:iam::012345678910:role/ApplicationAutoscalingECSRole",
58
+ "ScalableDimension": "ecs:service:DesiredCount",
59
+ "ServiceNamespace": "ecs"
60
+ }
61
+ ]
62
+ },
63
+ "comments": {
64
+ "input": {
65
+ },
66
+ "output": {
67
+ }
68
+ },
69
+ "description": "This example describes the scalable targets for the ecs service namespace.",
70
+ "id": "to-describe-scalable-targets-1470864286961",
71
+ "title": "To describe scalable targets"
72
+ }
73
+ ],
74
+ "DescribeScalingActivities": [
75
+ {
76
+ "input": {
77
+ "ResourceId": "service/default/web-app",
78
+ "ScalableDimension": "ecs:service:DesiredCount",
79
+ "ServiceNamespace": "ecs"
80
+ },
81
+ "output": {
82
+ "ScalingActivities": [
83
+ {
84
+ "ActivityId": "e6c5f7d1-dbbb-4a3f-89b2-51f33e766399",
85
+ "Cause": "monitor alarm web-app-cpu-lt-25 in state ALARM triggered policy web-app-cpu-lt-25",
86
+ "Description": "Setting desired count to 1.",
87
+ "EndTime": "2016-05-06T16:04:32.111Z",
88
+ "ResourceId": "service/default/web-app",
89
+ "ScalableDimension": "ecs:service:DesiredCount",
90
+ "ServiceNamespace": "ecs",
91
+ "StartTime": "2016-05-06T16:03:58.171Z",
92
+ "StatusCode": "Successful",
93
+ "StatusMessage": "Successfully set desired count to 1. Change successfully fulfilled by ecs."
94
+ }
95
+ ]
96
+ },
97
+ "comments": {
98
+ "input": {
99
+ },
100
+ "output": {
101
+ }
102
+ },
103
+ "description": "This example describes the scaling activities for an Amazon ECS service called web-app that is running in the default cluster.",
104
+ "id": "to-describe-scaling-activities-for-a-scalable-target-1470864398629",
105
+ "title": "To describe scaling activities for a scalable target"
106
+ }
107
+ ],
108
+ "DescribeScalingPolicies": [
109
+ {
110
+ "input": {
111
+ "ServiceNamespace": "ecs"
112
+ },
113
+ "output": {
114
+ "NextToken": "",
115
+ "ScalingPolicies": [
116
+ {
117
+ "Alarms": [
118
+ {
119
+ "AlarmARN": "arn:aws:cloudwatch:us-west-2:012345678910:alarm:web-app-cpu-gt-75",
120
+ "AlarmName": "web-app-cpu-gt-75"
121
+ }
122
+ ],
123
+ "CreationTime": "2016-05-06T12:11:39.230Z",
124
+ "PolicyARN": "arn:aws:autoscaling:us-west-2:012345678910:scalingPolicy:6d8972f3-efc8-437c-92d1-6270f29a66e7:resource/ecs/service/default/web-app:policyName/web-app-cpu-gt-75",
125
+ "PolicyName": "web-app-cpu-gt-75",
126
+ "PolicyType": "StepScaling",
127
+ "ResourceId": "service/default/web-app",
128
+ "ScalableDimension": "ecs:service:DesiredCount",
129
+ "ServiceNamespace": "ecs",
130
+ "StepScalingPolicyConfiguration": {
131
+ "AdjustmentType": "PercentChangeInCapacity",
132
+ "Cooldown": 60,
133
+ "StepAdjustments": [
134
+ {
135
+ "MetricIntervalLowerBound": 0,
136
+ "ScalingAdjustment": 200
137
+ }
138
+ ]
139
+ }
140
+ }
141
+ ]
142
+ },
143
+ "comments": {
144
+ "input": {
145
+ },
146
+ "output": {
147
+ }
148
+ },
149
+ "description": "This example describes the scaling policies for the ecs service namespace.",
150
+ "id": "to-describe-scaling-policies-1470864609734",
151
+ "title": "To describe scaling policies"
152
+ }
153
+ ],
154
+ "PutScalingPolicy": [
155
+ {
156
+ "input": {
157
+ "PolicyName": "web-app-cpu-gt-75",
158
+ "PolicyType": "StepScaling",
159
+ "ResourceId": "service/default/web-app",
160
+ "ScalableDimension": "ecs:service:DesiredCount",
161
+ "ServiceNamespace": "ecs",
162
+ "StepScalingPolicyConfiguration": {
163
+ "AdjustmentType": "PercentChangeInCapacity",
164
+ "Cooldown": 60,
165
+ "StepAdjustments": [
166
+ {
167
+ "MetricIntervalLowerBound": 0,
168
+ "ScalingAdjustment": 200
169
+ }
170
+ ]
171
+ }
172
+ },
173
+ "output": {
174
+ "PolicyARN": "arn:aws:autoscaling:us-west-2:012345678910:scalingPolicy:6d8972f3-efc8-437c-92d1-6270f29a66e7:resource/ecs/service/default/web-app:policyName/web-app-cpu-gt-75"
175
+ },
176
+ "comments": {
177
+ "input": {
178
+ },
179
+ "output": {
180
+ }
181
+ },
182
+ "description": "This example applies a scaling policy to an Amazon ECS service called web-app in the default cluster. The policy increases the desired count of the service by 200%, with a cool down period of 60 seconds.",
183
+ "id": "to-apply-a-scaling-policy-to-an-amazon-ecs-service-1470864779862",
184
+ "title": "To apply a scaling policy to an Amazon ECS service"
185
+ },
186
+ {
187
+ "input": {
188
+ "PolicyName": "fleet-cpu-gt-75",
189
+ "PolicyType": "StepScaling",
190
+ "ResourceId": "spot-fleet-request/sfr-45e69d8a-be48-4539-bbf3-3464e99c50c3",
191
+ "ScalableDimension": "ec2:spot-fleet-request:TargetCapacity",
192
+ "ServiceNamespace": "ec2",
193
+ "StepScalingPolicyConfiguration": {
194
+ "AdjustmentType": "PercentChangeInCapacity",
195
+ "Cooldown": 180,
196
+ "StepAdjustments": [
197
+ {
198
+ "MetricIntervalLowerBound": 0,
199
+ "ScalingAdjustment": 200
200
+ }
201
+ ]
202
+ }
203
+ },
204
+ "output": {
205
+ "PolicyARN": "arn:aws:autoscaling:us-east-1:012345678910:scalingPolicy:89406401-0cb7-4130-b770-d97cca0e446b:resource/ec2/spot-fleet-request/sfr-45e69d8a-be48-4539-bbf3-3464e99c50c3:policyName/fleet-cpu-gt-75"
206
+ },
207
+ "comments": {
208
+ "input": {
209
+ },
210
+ "output": {
211
+ }
212
+ },
213
+ "description": "This example applies a scaling policy to an Amazon EC2 Spot fleet. The policy increases the target capacity of the spot fleet by 200%, with a cool down period of 180 seconds.\",\n ",
214
+ "id": "to-apply-a-scaling-policy-to-an-amazon-ec2-spot-fleet-1472073278469",
215
+ "title": "To apply a scaling policy to an Amazon EC2 Spot fleet"
216
+ }
217
+ ],
218
+ "RegisterScalableTarget": [
219
+ {
220
+ "input": {
221
+ "MaxCapacity": 10,
222
+ "MinCapacity": 1,
223
+ "ResourceId": "service/default/web-app",
224
+ "RoleARN": "arn:aws:iam::012345678910:role/ApplicationAutoscalingECSRole",
225
+ "ScalableDimension": "ecs:service:DesiredCount",
226
+ "ServiceNamespace": "ecs"
227
+ },
228
+ "comments": {
229
+ "input": {
230
+ },
231
+ "output": {
232
+ }
233
+ },
234
+ "description": "This example registers a scalable target from an Amazon ECS service called web-app that is running on the default cluster, with a minimum desired count of 1 task and a maximum desired count of 10 tasks.",
235
+ "id": "to-register-a-new-scalable-target-1470864910380",
236
+ "title": "To register an ECS service as a scalable target"
237
+ },
238
+ {
239
+ "input": {
240
+ "MaxCapacity": 10,
241
+ "MinCapacity": 1,
242
+ "ResourceId": "spot-fleet-request/sfr-45e69d8a-be48-4539-bbf3-3464e99c50c3",
243
+ "RoleARN": "arn:aws:iam::012345678910:role/ApplicationAutoscalingSpotRole",
244
+ "ScalableDimension": "ec2:spot-fleet-request:TargetCapacity",
245
+ "ServiceNamespace": "ec2"
246
+ },
247
+ "output": {
248
+ },
249
+ "comments": {
250
+ },
251
+ "description": "This example registers a scalable target from an Amazon EC2 Spot fleet with a minimum target capacity of 1 and a maximum of 10.",
252
+ "id": "to-register-an-ec2-spot-fleet-as-a-scalable-target-1472072899649",
253
+ "title": "To register an EC2 Spot fleet as a scalable target"
254
+ }
255
+ ]
4
256
  }
5
257
  }
@@ -23,6 +23,7 @@
23
23
  {"shape":"InvalidParameterException"},
24
24
  {"shape":"TooManyRequestsException"},
25
25
  {"shape":"NotAuthorizedException"},
26
+ {"shape":"UserImportInProgressException"},
26
27
  {"shape":"InternalErrorException"}
27
28
  ]
28
29
  },
@@ -44,8 +45,8 @@
44
45
  {"shape":"InvalidLambdaResponseException"},
45
46
  {"shape":"TooManyRequestsException"},
46
47
  {"shape":"LimitExceededException"},
47
- {"shape":"InternalErrorException"},
48
- {"shape":"PasswordResetRequiredException"}
48
+ {"shape":"UserNotFoundException"},
49
+ {"shape":"InternalErrorException"}
49
50
  ]
50
51
  },
51
52
  "AdminDeleteUser":{
@@ -60,6 +61,7 @@
60
61
  {"shape":"InvalidParameterException"},
61
62
  {"shape":"TooManyRequestsException"},
62
63
  {"shape":"NotAuthorizedException"},
64
+ {"shape":"UserNotFoundException"},
63
65
  {"shape":"InternalErrorException"}
64
66
  ]
65
67
  },
@@ -76,6 +78,7 @@
76
78
  {"shape":"InvalidParameterException"},
77
79
  {"shape":"TooManyRequestsException"},
78
80
  {"shape":"NotAuthorizedException"},
81
+ {"shape":"UserNotFoundException"},
79
82
  {"shape":"InternalErrorException"}
80
83
  ]
81
84
  },
@@ -92,6 +95,7 @@
92
95
  {"shape":"InvalidParameterException"},
93
96
  {"shape":"TooManyRequestsException"},
94
97
  {"shape":"NotAuthorizedException"},
98
+ {"shape":"UserNotFoundException"},
95
99
  {"shape":"InternalErrorException"}
96
100
  ]
97
101
  },
@@ -108,6 +112,7 @@
108
112
  {"shape":"InvalidParameterException"},
109
113
  {"shape":"TooManyRequestsException"},
110
114
  {"shape":"NotAuthorizedException"},
115
+ {"shape":"UserNotFoundException"},
111
116
  {"shape":"InternalErrorException"}
112
117
  ]
113
118
  },
@@ -123,8 +128,9 @@
123
128
  {"shape":"InvalidParameterException"},
124
129
  {"shape":"InvalidUserPoolConfigurationException"},
125
130
  {"shape":"TooManyRequestsException"},
126
- {"shape":"InternalErrorException"},
127
- {"shape":"NotAuthorizedException"}
131
+ {"shape":"NotAuthorizedException"},
132
+ {"shape":"UserNotFoundException"},
133
+ {"shape":"InternalErrorException"}
128
134
  ]
129
135
  },
130
136
  "AdminGetDevice":{
@@ -157,6 +163,7 @@
157
163
  {"shape":"InvalidParameterException"},
158
164
  {"shape":"TooManyRequestsException"},
159
165
  {"shape":"NotAuthorizedException"},
166
+ {"shape":"UserNotFoundException"},
160
167
  {"shape":"InternalErrorException"}
161
168
  ]
162
169
  },
@@ -180,7 +187,10 @@
180
187
  {"shape":"InvalidLambdaResponseException"},
181
188
  {"shape":"MFAMethodNotFoundException"},
182
189
  {"shape":"InvalidSmsRoleAccessPolicyException"},
183
- {"shape":"InvalidSmsRoleTrustRelationshipException"}
190
+ {"shape":"InvalidSmsRoleTrustRelationshipException"},
191
+ {"shape":"PasswordResetRequiredException"},
192
+ {"shape":"UserNotFoundException"},
193
+ {"shape":"UserNotConfirmedException"}
184
194
  ]
185
195
  },
186
196
  "AdminListDevices":{
@@ -217,6 +227,7 @@
217
227
  {"shape":"InvalidLambdaResponseException"},
218
228
  {"shape":"TooManyRequestsException"},
219
229
  {"shape":"LimitExceededException"},
230
+ {"shape":"UserNotFoundException"},
220
231
  {"shape":"InternalErrorException"}
221
232
  ]
222
233
  },
@@ -243,7 +254,10 @@
243
254
  {"shape":"MFAMethodNotFoundException"},
244
255
  {"shape":"InvalidSmsRoleAccessPolicyException"},
245
256
  {"shape":"InvalidSmsRoleTrustRelationshipException"},
246
- {"shape":"AliasExistsException"}
257
+ {"shape":"AliasExistsException"},
258
+ {"shape":"PasswordResetRequiredException"},
259
+ {"shape":"UserNotFoundException"},
260
+ {"shape":"UserNotConfirmedException"}
247
261
  ]
248
262
  },
249
263
  "AdminSetUserSettings":{
@@ -258,6 +272,7 @@
258
272
  {"shape":"ResourceNotFoundException"},
259
273
  {"shape":"InvalidParameterException"},
260
274
  {"shape":"NotAuthorizedException"},
275
+ {"shape":"UserNotFoundException"},
261
276
  {"shape":"InternalErrorException"}
262
277
  ]
263
278
  },
@@ -274,8 +289,9 @@
274
289
  {"shape":"ResourceNotFoundException"},
275
290
  {"shape":"InvalidUserPoolConfigurationException"},
276
291
  {"shape":"TooManyRequestsException"},
277
- {"shape":"InternalErrorException"},
278
- {"shape":"NotAuthorizedException"}
292
+ {"shape":"NotAuthorizedException"},
293
+ {"shape":"UserNotFoundException"},
294
+ {"shape":"InternalErrorException"}
279
295
  ]
280
296
  },
281
297
  "AdminUpdateUserAttributes":{
@@ -295,6 +311,7 @@
295
311
  {"shape":"AliasExistsException"},
296
312
  {"shape":"TooManyRequestsException"},
297
313
  {"shape":"NotAuthorizedException"},
314
+ {"shape":"UserNotFoundException"},
298
315
  {"shape":"InternalErrorException"}
299
316
  ]
300
317
  },
@@ -311,6 +328,7 @@
311
328
  {"shape":"InvalidParameterException"},
312
329
  {"shape":"TooManyRequestsException"},
313
330
  {"shape":"NotAuthorizedException"},
331
+ {"shape":"UserNotFoundException"},
314
332
  {"shape":"InternalErrorException"}
315
333
  ]
316
334
  },
@@ -329,6 +347,9 @@
329
347
  {"shape":"NotAuthorizedException"},
330
348
  {"shape":"TooManyRequestsException"},
331
349
  {"shape":"LimitExceededException"},
350
+ {"shape":"PasswordResetRequiredException"},
351
+ {"shape":"UserNotFoundException"},
352
+ {"shape":"UserNotConfirmedException"},
332
353
  {"shape":"InternalErrorException"}
333
354
  ],
334
355
  "authtype":"none"
@@ -350,6 +371,9 @@
350
371
  {"shape":"UsernameExistsException"},
351
372
  {"shape":"InvalidUserPoolConfigurationException"},
352
373
  {"shape":"TooManyRequestsException"},
374
+ {"shape":"PasswordResetRequiredException"},
375
+ {"shape":"UserNotFoundException"},
376
+ {"shape":"UserNotConfirmedException"},
353
377
  {"shape":"InternalErrorException"}
354
378
  ]
355
379
  },
@@ -374,9 +398,9 @@
374
398
  {"shape":"InvalidLambdaResponseException"},
375
399
  {"shape":"TooManyRequestsException"},
376
400
  {"shape":"LimitExceededException"},
377
- {"shape":"InternalErrorException"},
378
401
  {"shape":"UserNotFoundException"},
379
- {"shape":"UserNotConfirmedException"}
402
+ {"shape":"UserNotConfirmedException"},
403
+ {"shape":"InternalErrorException"}
380
404
  ],
381
405
  "authtype":"none"
382
406
  },
@@ -401,11 +425,29 @@
401
425
  {"shape":"AliasExistsException"},
402
426
  {"shape":"TooManyRequestsException"},
403
427
  {"shape":"LimitExceededException"},
404
- {"shape":"InternalErrorException"},
405
- {"shape":"UserNotFoundException"}
428
+ {"shape":"UserNotFoundException"},
429
+ {"shape":"InternalErrorException"}
406
430
  ],
407
431
  "authtype":"none"
408
432
  },
433
+ "CreateUserImportJob":{
434
+ "name":"CreateUserImportJob",
435
+ "http":{
436
+ "method":"POST",
437
+ "requestUri":"/"
438
+ },
439
+ "input":{"shape":"CreateUserImportJobRequest"},
440
+ "output":{"shape":"CreateUserImportJobResponse"},
441
+ "errors":[
442
+ {"shape":"ResourceNotFoundException"},
443
+ {"shape":"InvalidParameterException"},
444
+ {"shape":"TooManyRequestsException"},
445
+ {"shape":"PreconditionNotMetException"},
446
+ {"shape":"NotAuthorizedException"},
447
+ {"shape":"LimitExceededException"},
448
+ {"shape":"InternalErrorException"}
449
+ ]
450
+ },
409
451
  "CreateUserPool":{
410
452
  "name":"CreateUserPool",
411
453
  "http":{
@@ -454,6 +496,9 @@
454
496
  {"shape":"InvalidParameterException"},
455
497
  {"shape":"NotAuthorizedException"},
456
498
  {"shape":"TooManyRequestsException"},
499
+ {"shape":"PasswordResetRequiredException"},
500
+ {"shape":"UserNotFoundException"},
501
+ {"shape":"UserNotConfirmedException"},
457
502
  {"shape":"InternalErrorException"}
458
503
  ],
459
504
  "authtype":"none"
@@ -471,6 +516,9 @@
471
516
  {"shape":"InvalidParameterException"},
472
517
  {"shape":"NotAuthorizedException"},
473
518
  {"shape":"TooManyRequestsException"},
519
+ {"shape":"PasswordResetRequiredException"},
520
+ {"shape":"UserNotFoundException"},
521
+ {"shape":"UserNotConfirmedException"},
474
522
  {"shape":"InternalErrorException"}
475
523
  ],
476
524
  "authtype":"none"
@@ -487,6 +535,7 @@
487
535
  {"shape":"InvalidParameterException"},
488
536
  {"shape":"TooManyRequestsException"},
489
537
  {"shape":"NotAuthorizedException"},
538
+ {"shape":"UserImportInProgressException"},
490
539
  {"shape":"InternalErrorException"}
491
540
  ]
492
541
  },
@@ -505,6 +554,22 @@
505
554
  {"shape":"InternalErrorException"}
506
555
  ]
507
556
  },
557
+ "DescribeUserImportJob":{
558
+ "name":"DescribeUserImportJob",
559
+ "http":{
560
+ "method":"POST",
561
+ "requestUri":"/"
562
+ },
563
+ "input":{"shape":"DescribeUserImportJobRequest"},
564
+ "output":{"shape":"DescribeUserImportJobResponse"},
565
+ "errors":[
566
+ {"shape":"ResourceNotFoundException"},
567
+ {"shape":"InvalidParameterException"},
568
+ {"shape":"TooManyRequestsException"},
569
+ {"shape":"NotAuthorizedException"},
570
+ {"shape":"InternalErrorException"}
571
+ ]
572
+ },
508
573
  "DescribeUserPool":{
509
574
  "name":"DescribeUserPool",
510
575
  "http":{
@@ -550,6 +615,9 @@
550
615
  {"shape":"NotAuthorizedException"},
551
616
  {"shape":"TooManyRequestsException"},
552
617
  {"shape":"InvalidUserPoolConfigurationException"},
618
+ {"shape":"PasswordResetRequiredException"},
619
+ {"shape":"UserNotFoundException"},
620
+ {"shape":"UserNotConfirmedException"},
553
621
  {"shape":"InternalErrorException"}
554
622
  ]
555
623
  },
@@ -570,16 +638,32 @@
570
638
  {"shape":"InvalidLambdaResponseException"},
571
639
  {"shape":"TooManyRequestsException"},
572
640
  {"shape":"LimitExceededException"},
573
- {"shape":"InternalErrorException"},
574
641
  {"shape":"InvalidSmsRoleAccessPolicyException"},
575
642
  {"shape":"InvalidSmsRoleTrustRelationshipException"},
576
643
  {"shape":"InvalidEmailRoleAccessPolicyException"},
577
644
  {"shape":"CodeDeliveryFailureException"},
578
645
  {"shape":"UserNotFoundException"},
579
- {"shape":"UserNotConfirmedException"}
646
+ {"shape":"UserNotConfirmedException"},
647
+ {"shape":"InternalErrorException"}
580
648
  ],
581
649
  "authtype":"none"
582
650
  },
651
+ "GetCSVHeader":{
652
+ "name":"GetCSVHeader",
653
+ "http":{
654
+ "method":"POST",
655
+ "requestUri":"/"
656
+ },
657
+ "input":{"shape":"GetCSVHeaderRequest"},
658
+ "output":{"shape":"GetCSVHeaderResponse"},
659
+ "errors":[
660
+ {"shape":"ResourceNotFoundException"},
661
+ {"shape":"InvalidParameterException"},
662
+ {"shape":"TooManyRequestsException"},
663
+ {"shape":"NotAuthorizedException"},
664
+ {"shape":"InternalErrorException"}
665
+ ]
666
+ },
583
667
  "GetDevice":{
584
668
  "name":"GetDevice",
585
669
  "http":{
@@ -594,6 +678,9 @@
594
678
  {"shape":"InvalidUserPoolConfigurationException"},
595
679
  {"shape":"NotAuthorizedException"},
596
680
  {"shape":"TooManyRequestsException"},
681
+ {"shape":"PasswordResetRequiredException"},
682
+ {"shape":"UserNotFoundException"},
683
+ {"shape":"UserNotConfirmedException"},
597
684
  {"shape":"InternalErrorException"}
598
685
  ]
599
686
  },
@@ -610,6 +697,9 @@
610
697
  {"shape":"InvalidParameterException"},
611
698
  {"shape":"NotAuthorizedException"},
612
699
  {"shape":"TooManyRequestsException"},
700
+ {"shape":"PasswordResetRequiredException"},
701
+ {"shape":"UserNotFoundException"},
702
+ {"shape":"UserNotConfirmedException"},
613
703
  {"shape":"InternalErrorException"}
614
704
  ],
615
705
  "authtype":"none"
@@ -630,12 +720,15 @@
630
720
  {"shape":"UnexpectedLambdaException"},
631
721
  {"shape":"UserLambdaValidationException"},
632
722
  {"shape":"InvalidLambdaResponseException"},
633
- {"shape":"InternalErrorException"},
634
723
  {"shape":"InvalidSmsRoleAccessPolicyException"},
635
724
  {"shape":"InvalidSmsRoleTrustRelationshipException"},
636
725
  {"shape":"InvalidEmailRoleAccessPolicyException"},
637
726
  {"shape":"CodeDeliveryFailureException"},
638
- {"shape":"LimitExceededException"}
727
+ {"shape":"LimitExceededException"},
728
+ {"shape":"PasswordResetRequiredException"},
729
+ {"shape":"UserNotFoundException"},
730
+ {"shape":"UserNotConfirmedException"},
731
+ {"shape":"InternalErrorException"}
639
732
  ],
640
733
  "authtype":"none"
641
734
  },
@@ -668,14 +761,14 @@
668
761
  {"shape":"InvalidParameterException"},
669
762
  {"shape":"NotAuthorizedException"},
670
763
  {"shape":"TooManyRequestsException"},
671
- {"shape":"InternalErrorException"},
672
764
  {"shape":"UnexpectedLambdaException"},
673
765
  {"shape":"InvalidUserPoolConfigurationException"},
674
766
  {"shape":"UserLambdaValidationException"},
675
767
  {"shape":"InvalidLambdaResponseException"},
676
768
  {"shape":"PasswordResetRequiredException"},
677
769
  {"shape":"UserNotFoundException"},
678
- {"shape":"UserNotConfirmedException"}
770
+ {"shape":"UserNotConfirmedException"},
771
+ {"shape":"InternalErrorException"}
679
772
  ]
680
773
  },
681
774
  "ListDevices":{
@@ -692,6 +785,25 @@
692
785
  {"shape":"NotAuthorizedException"},
693
786
  {"shape":"InvalidUserPoolConfigurationException"},
694
787
  {"shape":"TooManyRequestsException"},
788
+ {"shape":"PasswordResetRequiredException"},
789
+ {"shape":"UserNotFoundException"},
790
+ {"shape":"UserNotConfirmedException"},
791
+ {"shape":"InternalErrorException"}
792
+ ]
793
+ },
794
+ "ListUserImportJobs":{
795
+ "name":"ListUserImportJobs",
796
+ "http":{
797
+ "method":"POST",
798
+ "requestUri":"/"
799
+ },
800
+ "input":{"shape":"ListUserImportJobsRequest"},
801
+ "output":{"shape":"ListUserImportJobsResponse"},
802
+ "errors":[
803
+ {"shape":"ResourceNotFoundException"},
804
+ {"shape":"InvalidParameterException"},
805
+ {"shape":"TooManyRequestsException"},
806
+ {"shape":"NotAuthorizedException"},
695
807
  {"shape":"InternalErrorException"}
696
808
  ]
697
809
  },
@@ -759,12 +871,12 @@
759
871
  {"shape":"InvalidLambdaResponseException"},
760
872
  {"shape":"TooManyRequestsException"},
761
873
  {"shape":"LimitExceededException"},
762
- {"shape":"InternalErrorException"},
763
874
  {"shape":"InvalidSmsRoleAccessPolicyException"},
764
875
  {"shape":"InvalidSmsRoleTrustRelationshipException"},
765
876
  {"shape":"InvalidEmailRoleAccessPolicyException"},
766
877
  {"shape":"CodeDeliveryFailureException"},
767
- {"shape":"UserNotFoundException"}
878
+ {"shape":"UserNotFoundException"},
879
+ {"shape":"InternalErrorException"}
768
880
  ],
769
881
  "authtype":"none"
770
882
  },
@@ -787,14 +899,14 @@
787
899
  {"shape":"InvalidLambdaResponseException"},
788
900
  {"shape":"TooManyRequestsException"},
789
901
  {"shape":"InvalidUserPoolConfigurationException"},
790
- {"shape":"InternalErrorException"},
791
902
  {"shape":"MFAMethodNotFoundException"},
792
903
  {"shape":"PasswordResetRequiredException"},
793
904
  {"shape":"UserNotFoundException"},
794
905
  {"shape":"UserNotConfirmedException"},
795
906
  {"shape":"InvalidSmsRoleAccessPolicyException"},
796
907
  {"shape":"InvalidSmsRoleTrustRelationshipException"},
797
- {"shape":"AliasExistsException"}
908
+ {"shape":"AliasExistsException"},
909
+ {"shape":"InternalErrorException"}
798
910
  ]
799
911
  },
800
912
  "SetUserSettings":{
@@ -808,7 +920,11 @@
808
920
  "errors":[
809
921
  {"shape":"ResourceNotFoundException"},
810
922
  {"shape":"InvalidParameterException"},
811
- {"shape":"NotAuthorizedException"}
923
+ {"shape":"NotAuthorizedException"},
924
+ {"shape":"PasswordResetRequiredException"},
925
+ {"shape":"UserNotFoundException"},
926
+ {"shape":"UserNotConfirmedException"},
927
+ {"shape":"InternalErrorException"}
812
928
  ],
813
929
  "authtype":"none"
814
930
  },
@@ -838,6 +954,40 @@
838
954
  ],
839
955
  "authtype":"none"
840
956
  },
957
+ "StartUserImportJob":{
958
+ "name":"StartUserImportJob",
959
+ "http":{
960
+ "method":"POST",
961
+ "requestUri":"/"
962
+ },
963
+ "input":{"shape":"StartUserImportJobRequest"},
964
+ "output":{"shape":"StartUserImportJobResponse"},
965
+ "errors":[
966
+ {"shape":"ResourceNotFoundException"},
967
+ {"shape":"InvalidParameterException"},
968
+ {"shape":"TooManyRequestsException"},
969
+ {"shape":"InternalErrorException"},
970
+ {"shape":"PreconditionNotMetException"},
971
+ {"shape":"NotAuthorizedException"}
972
+ ]
973
+ },
974
+ "StopUserImportJob":{
975
+ "name":"StopUserImportJob",
976
+ "http":{
977
+ "method":"POST",
978
+ "requestUri":"/"
979
+ },
980
+ "input":{"shape":"StopUserImportJobRequest"},
981
+ "output":{"shape":"StopUserImportJobResponse"},
982
+ "errors":[
983
+ {"shape":"ResourceNotFoundException"},
984
+ {"shape":"InvalidParameterException"},
985
+ {"shape":"TooManyRequestsException"},
986
+ {"shape":"InternalErrorException"},
987
+ {"shape":"PreconditionNotMetException"},
988
+ {"shape":"NotAuthorizedException"}
989
+ ]
990
+ },
841
991
  "UpdateDeviceStatus":{
842
992
  "name":"UpdateDeviceStatus",
843
993
  "http":{
@@ -852,6 +1002,9 @@
852
1002
  {"shape":"NotAuthorizedException"},
853
1003
  {"shape":"InvalidUserPoolConfigurationException"},
854
1004
  {"shape":"TooManyRequestsException"},
1005
+ {"shape":"PasswordResetRequiredException"},
1006
+ {"shape":"UserNotFoundException"},
1007
+ {"shape":"UserNotConfirmedException"},
855
1008
  {"shape":"InternalErrorException"}
856
1009
  ]
857
1010
  },
@@ -874,11 +1027,14 @@
874
1027
  {"shape":"InvalidLambdaResponseException"},
875
1028
  {"shape":"TooManyRequestsException"},
876
1029
  {"shape":"AliasExistsException"},
877
- {"shape":"InternalErrorException"},
878
1030
  {"shape":"InvalidSmsRoleAccessPolicyException"},
879
1031
  {"shape":"InvalidSmsRoleTrustRelationshipException"},
880
1032
  {"shape":"InvalidEmailRoleAccessPolicyException"},
881
- {"shape":"CodeDeliveryFailureException"}
1033
+ {"shape":"CodeDeliveryFailureException"},
1034
+ {"shape":"PasswordResetRequiredException"},
1035
+ {"shape":"UserNotFoundException"},
1036
+ {"shape":"UserNotConfirmedException"},
1037
+ {"shape":"InternalErrorException"}
882
1038
  ],
883
1039
  "authtype":"none"
884
1040
  },
@@ -896,6 +1052,7 @@
896
1052
  {"shape":"ConcurrentModificationException"},
897
1053
  {"shape":"TooManyRequestsException"},
898
1054
  {"shape":"NotAuthorizedException"},
1055
+ {"shape":"UserImportInProgressException"},
899
1056
  {"shape":"InternalErrorException"},
900
1057
  {"shape":"InvalidSmsRoleAccessPolicyException"},
901
1058
  {"shape":"InvalidSmsRoleTrustRelationshipException"},
@@ -934,6 +1091,9 @@
934
1091
  {"shape":"NotAuthorizedException"},
935
1092
  {"shape":"TooManyRequestsException"},
936
1093
  {"shape":"LimitExceededException"},
1094
+ {"shape":"PasswordResetRequiredException"},
1095
+ {"shape":"UserNotFoundException"},
1096
+ {"shape":"UserNotConfirmedException"},
937
1097
  {"shape":"InternalErrorException"}
938
1098
  ],
939
1099
  "authtype":"none"
@@ -1311,6 +1471,7 @@
1311
1471
  "enum":[
1312
1472
  "USER_SRP_AUTH",
1313
1473
  "REFRESH_TOKEN_AUTH",
1474
+ "REFRESH_TOKEN",
1314
1475
  "CUSTOM_AUTH",
1315
1476
  "ADMIN_NO_SRP_AUTH"
1316
1477
  ]
@@ -1430,6 +1591,12 @@
1430
1591
  },
1431
1592
  "exception":true
1432
1593
  },
1594
+ "CompletionMessageType":{
1595
+ "type":"string",
1596
+ "max":128,
1597
+ "min":1,
1598
+ "pattern":"[\\w]+"
1599
+ },
1433
1600
  "ConcurrentModificationException":{
1434
1601
  "type":"structure",
1435
1602
  "members":{
@@ -1503,6 +1670,25 @@
1503
1670
  "min":1,
1504
1671
  "pattern":"[\\S]+"
1505
1672
  },
1673
+ "CreateUserImportJobRequest":{
1674
+ "type":"structure",
1675
+ "required":[
1676
+ "JobName",
1677
+ "UserPoolId",
1678
+ "CloudWatchLogsRoleArn"
1679
+ ],
1680
+ "members":{
1681
+ "JobName":{"shape":"UserImportJobNameType"},
1682
+ "UserPoolId":{"shape":"UserPoolIdType"},
1683
+ "CloudWatchLogsRoleArn":{"shape":"ArnType"}
1684
+ }
1685
+ },
1686
+ "CreateUserImportJobResponse":{
1687
+ "type":"structure",
1688
+ "members":{
1689
+ "UserImportJob":{"shape":"UserImportJobType"}
1690
+ }
1691
+ },
1506
1692
  "CreateUserPoolClientRequest":{
1507
1693
  "type":"structure",
1508
1694
  "required":[
@@ -1607,6 +1793,23 @@
1607
1793
  "EMAIL"
1608
1794
  ]
1609
1795
  },
1796
+ "DescribeUserImportJobRequest":{
1797
+ "type":"structure",
1798
+ "required":[
1799
+ "UserPoolId",
1800
+ "JobId"
1801
+ ],
1802
+ "members":{
1803
+ "UserPoolId":{"shape":"UserPoolIdType"},
1804
+ "JobId":{"shape":"UserImportJobIdType"}
1805
+ }
1806
+ },
1807
+ "DescribeUserImportJobResponse":{
1808
+ "type":"structure",
1809
+ "members":{
1810
+ "UserImportJob":{"shape":"UserImportJobType"}
1811
+ }
1812
+ },
1610
1813
  "DescribeUserPoolClientRequest":{
1611
1814
  "type":"structure",
1612
1815
  "required":[
@@ -1656,7 +1859,7 @@
1656
1859
  },
1657
1860
  "DeviceNameType":{
1658
1861
  "type":"string",
1659
- "max":150,
1862
+ "max":1024,
1660
1863
  "min":1
1661
1864
  },
1662
1865
  "DeviceRememberedStatusType":{
@@ -1719,7 +1922,10 @@
1719
1922
  },
1720
1923
  "ExplicitAuthFlowsType":{
1721
1924
  "type":"string",
1722
- "enum":["ADMIN_NO_SRP_AUTH"]
1925
+ "enum":[
1926
+ "ADMIN_NO_SRP_AUTH",
1927
+ "CUSTOM_AUTH_FLOW_ONLY"
1928
+ ]
1723
1929
  },
1724
1930
  "ForceAliasCreation":{"type":"boolean"},
1725
1931
  "ForgetDeviceRequest":{
@@ -1749,6 +1955,20 @@
1749
1955
  }
1750
1956
  },
1751
1957
  "GenerateSecret":{"type":"boolean"},
1958
+ "GetCSVHeaderRequest":{
1959
+ "type":"structure",
1960
+ "required":["UserPoolId"],
1961
+ "members":{
1962
+ "UserPoolId":{"shape":"UserPoolIdType"}
1963
+ }
1964
+ },
1965
+ "GetCSVHeaderResponse":{
1966
+ "type":"structure",
1967
+ "members":{
1968
+ "UserPoolId":{"shape":"UserPoolIdType"},
1969
+ "CSVHeader":{"shape":"ListOfStringTypes"}
1970
+ }
1971
+ },
1752
1972
  "GetDeviceRequest":{
1753
1973
  "type":"structure",
1754
1974
  "required":["DeviceKey"],
@@ -1923,6 +2143,29 @@
1923
2143
  "PaginationToken":{"shape":"SearchPaginationTokenType"}
1924
2144
  }
1925
2145
  },
2146
+ "ListOfStringTypes":{
2147
+ "type":"list",
2148
+ "member":{"shape":"StringType"}
2149
+ },
2150
+ "ListUserImportJobsRequest":{
2151
+ "type":"structure",
2152
+ "required":[
2153
+ "UserPoolId",
2154
+ "MaxResults"
2155
+ ],
2156
+ "members":{
2157
+ "UserPoolId":{"shape":"UserPoolIdType"},
2158
+ "MaxResults":{"shape":"PoolQueryLimitType"},
2159
+ "PaginationToken":{"shape":"PaginationKeyType"}
2160
+ }
2161
+ },
2162
+ "ListUserImportJobsResponse":{
2163
+ "type":"structure",
2164
+ "members":{
2165
+ "UserImportJobs":{"shape":"UserImportJobsListType"},
2166
+ "PaginationToken":{"shape":"PaginationKeyType"}
2167
+ }
2168
+ },
1926
2169
  "ListUserPoolClientsRequest":{
1927
2170
  "type":"structure",
1928
2171
  "required":["UserPoolId"],
@@ -1972,6 +2215,7 @@
1972
2215
  "PaginationToken":{"shape":"SearchPaginationTokenType"}
1973
2216
  }
1974
2217
  },
2218
+ "LongType":{"type":"long"},
1975
2219
  "MFAMethodNotFoundException":{
1976
2220
  "type":"structure",
1977
2221
  "members":{
@@ -2056,6 +2300,18 @@
2056
2300
  "max":60,
2057
2301
  "min":1
2058
2302
  },
2303
+ "PreSignedUrlType":{
2304
+ "type":"string",
2305
+ "max":2048,
2306
+ "min":0
2307
+ },
2308
+ "PreconditionNotMetException":{
2309
+ "type":"structure",
2310
+ "members":{
2311
+ "message":{"shape":"MessageType"}
2312
+ },
2313
+ "exception":true
2314
+ },
2059
2315
  "QueryLimit":{
2060
2316
  "type":"integer",
2061
2317
  "max":60,
@@ -2209,6 +2465,23 @@
2209
2465
  "min":6,
2210
2466
  "pattern":".*\\{####\\}.*"
2211
2467
  },
2468
+ "StartUserImportJobRequest":{
2469
+ "type":"structure",
2470
+ "required":[
2471
+ "UserPoolId",
2472
+ "JobId"
2473
+ ],
2474
+ "members":{
2475
+ "UserPoolId":{"shape":"UserPoolIdType"},
2476
+ "JobId":{"shape":"UserImportJobIdType"}
2477
+ }
2478
+ },
2479
+ "StartUserImportJobResponse":{
2480
+ "type":"structure",
2481
+ "members":{
2482
+ "UserImportJob":{"shape":"UserImportJobType"}
2483
+ }
2484
+ },
2212
2485
  "StatusType":{
2213
2486
  "type":"string",
2214
2487
  "enum":[
@@ -2216,6 +2489,23 @@
2216
2489
  "Disabled"
2217
2490
  ]
2218
2491
  },
2492
+ "StopUserImportJobRequest":{
2493
+ "type":"structure",
2494
+ "required":[
2495
+ "UserPoolId",
2496
+ "JobId"
2497
+ ],
2498
+ "members":{
2499
+ "UserPoolId":{"shape":"UserPoolIdType"},
2500
+ "JobId":{"shape":"UserImportJobIdType"}
2501
+ }
2502
+ },
2503
+ "StopUserImportJobResponse":{
2504
+ "type":"structure",
2505
+ "members":{
2506
+ "UserImportJob":{"shape":"UserImportJobType"}
2507
+ }
2508
+ },
2219
2509
  "StringAttributeConstraintsType":{
2220
2510
  "type":"structure",
2221
2511
  "members":{
@@ -2330,6 +2620,62 @@
2330
2620
  "type":"string",
2331
2621
  "max":256
2332
2622
  },
2623
+ "UserImportInProgressException":{
2624
+ "type":"structure",
2625
+ "members":{
2626
+ "message":{"shape":"MessageType"}
2627
+ },
2628
+ "exception":true
2629
+ },
2630
+ "UserImportJobIdType":{
2631
+ "type":"string",
2632
+ "max":55,
2633
+ "min":1,
2634
+ "pattern":"import-[0-9a-zA-Z-]+"
2635
+ },
2636
+ "UserImportJobNameType":{
2637
+ "type":"string",
2638
+ "max":128,
2639
+ "min":1,
2640
+ "pattern":"[\\w\\s+=,.@-]+"
2641
+ },
2642
+ "UserImportJobStatusType":{
2643
+ "type":"string",
2644
+ "enum":[
2645
+ "Created",
2646
+ "Pending",
2647
+ "InProgress",
2648
+ "Stopping",
2649
+ "Expired",
2650
+ "Stopped",
2651
+ "Failed",
2652
+ "Succeeded"
2653
+ ]
2654
+ },
2655
+ "UserImportJobType":{
2656
+ "type":"structure",
2657
+ "members":{
2658
+ "JobName":{"shape":"UserImportJobNameType"},
2659
+ "JobId":{"shape":"UserImportJobIdType"},
2660
+ "UserPoolId":{"shape":"UserPoolIdType"},
2661
+ "PreSignedUrl":{"shape":"PreSignedUrlType"},
2662
+ "CreationDate":{"shape":"DateType"},
2663
+ "StartDate":{"shape":"DateType"},
2664
+ "CompletionDate":{"shape":"DateType"},
2665
+ "Status":{"shape":"UserImportJobStatusType"},
2666
+ "CloudWatchLogsRoleArn":{"shape":"ArnType"},
2667
+ "ImportedUsers":{"shape":"LongType"},
2668
+ "SkippedUsers":{"shape":"LongType"},
2669
+ "FailedUsers":{"shape":"LongType"},
2670
+ "CompletionMessage":{"shape":"CompletionMessageType"}
2671
+ }
2672
+ },
2673
+ "UserImportJobsListType":{
2674
+ "type":"list",
2675
+ "member":{"shape":"UserImportJobType"},
2676
+ "max":50,
2677
+ "min":1
2678
+ },
2333
2679
  "UserLambdaValidationException":{
2334
2680
  "type":"structure",
2335
2681
  "members":{
@@ -2393,7 +2739,7 @@
2393
2739
  "type":"string",
2394
2740
  "max":55,
2395
2741
  "min":1,
2396
- "pattern":"[\\w-]+.[0-9a-zA-Z-]+"
2742
+ "pattern":"[\\w-]+_[0-9a-zA-Z]+"
2397
2743
  },
2398
2744
  "UserPoolListType":{
2399
2745
  "type":"list",