aws-sdk 2.945.0 → 2.949.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/CHANGELOG.md +25 -1
  2. package/README.md +1 -1
  3. package/apis/chime-2018-05-01.min.json +259 -258
  4. package/apis/dms-2016-01-01.min.json +127 -97
  5. package/apis/ec2-2016-11-15.min.json +1236 -930
  6. package/apis/ec2-2016-11-15.paginators.json +6 -0
  7. package/apis/emr-containers-2020-10-01.min.json +25 -23
  8. package/apis/glue-2017-03-31.min.json +254 -220
  9. package/apis/health-2016-08-04.min.json +29 -29
  10. package/apis/healthlake-2017-07-01.min.json +258 -60
  11. package/apis/healthlake-2017-07-01.paginators.json +10 -0
  12. package/apis/iotsitewise-2019-12-02.min.json +46 -25
  13. package/apis/lightsail-2016-11-28.min.json +557 -192
  14. package/apis/location-2020-11-19.min.json +205 -0
  15. package/apis/robomaker-2018-06-29.min.json +6 -3
  16. package/apis/wellarchitected-2020-03-31.min.json +60 -19
  17. package/clients/acm.d.ts +16 -16
  18. package/clients/appintegrations.d.ts +22 -22
  19. package/clients/auditmanager.d.ts +138 -138
  20. package/clients/chime.d.ts +5 -0
  21. package/clients/cognitoidentityserviceprovider.d.ts +72 -72
  22. package/clients/directconnect.d.ts +11 -8
  23. package/clients/dms.d.ts +253 -204
  24. package/clients/ec2.d.ts +332 -6
  25. package/clients/ecs.d.ts +83 -83
  26. package/clients/emrcontainers.d.ts +12 -2
  27. package/clients/glue.d.ts +38 -3
  28. package/clients/health.d.ts +3 -2
  29. package/clients/healthlake.d.ts +220 -5
  30. package/clients/imagebuilder.d.ts +27 -27
  31. package/clients/lexmodelbuildingservice.d.ts +1 -1
  32. package/clients/lightsail.d.ts +610 -150
  33. package/clients/location.d.ts +227 -35
  34. package/clients/robomaker.d.ts +12 -0
  35. package/clients/wellarchitected.d.ts +76 -5
  36. package/dist/aws-sdk-core-react-native.js +6 -1
  37. package/dist/aws-sdk-react-native.js +20 -15
  38. package/dist/aws-sdk.js +1455 -933
  39. package/dist/aws-sdk.min.js +65 -65
  40. package/lib/core.d.ts +1 -0
  41. package/lib/core.js +1 -1
  42. package/lib/json/builder.js +3 -0
  43. package/lib/json/parser.js +1 -0
  44. package/lib/model/index.d.ts +4 -0
  45. package/lib/model/shape.js +1 -0
  46. package/package.json +1 -1
  47. package/scripts/lib/ts-generator.js +16 -0
@@ -68,11 +68,11 @@ declare class WellArchitected extends Service {
68
68
  */
69
69
  disassociateLenses(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
70
70
  /**
71
- * Get lens review.
71
+ * Get the answer to a specific question in a workload review.
72
72
  */
73
73
  getAnswer(params: WellArchitected.Types.GetAnswerInput, callback?: (err: AWSError, data: WellArchitected.Types.GetAnswerOutput) => void): Request<WellArchitected.Types.GetAnswerOutput, AWSError>;
74
74
  /**
75
- * Get lens review.
75
+ * Get the answer to a specific question in a workload review.
76
76
  */
77
77
  getAnswer(callback?: (err: AWSError, data: WellArchitected.Types.GetAnswerOutput) => void): Request<WellArchitected.Types.GetAnswerOutput, AWSError>;
78
78
  /**
@@ -204,11 +204,11 @@ declare class WellArchitected extends Service {
204
204
  */
205
205
  tagResource(callback?: (err: AWSError, data: WellArchitected.Types.TagResourceOutput) => void): Request<WellArchitected.Types.TagResourceOutput, AWSError>;
206
206
  /**
207
- * Deletes specified tags from a resource.
207
+ * Deletes specified tags from a resource. To specify multiple tags, use separate tagKeys parameters, for example: DELETE /tags/WorkloadArn?tagKeys=key1&amp;tagKeys=key2
208
208
  */
209
209
  untagResource(params: WellArchitected.Types.UntagResourceInput, callback?: (err: AWSError, data: WellArchitected.Types.UntagResourceOutput) => void): Request<WellArchitected.Types.UntagResourceOutput, AWSError>;
210
210
  /**
211
- * Deletes specified tags from a resource.
211
+ * Deletes specified tags from a resource. To specify multiple tags, use separate tagKeys parameters, for example: DELETE /tags/WorkloadArn?tagKeys=key1&amp;tagKeys=key2
212
212
  */
213
213
  untagResource(callback?: (err: AWSError, data: WellArchitected.Types.UntagResourceOutput) => void): Request<WellArchitected.Types.UntagResourceOutput, AWSError>;
214
214
  /**
@@ -270,10 +270,19 @@ declare namespace WellArchitected {
270
270
  HelpfulResourceUrl?: HelpfulResourceUrl;
271
271
  Choices?: Choices;
272
272
  SelectedChoices?: SelectedChoices;
273
+ /**
274
+ * A list of selected choices to a question in your workload.
275
+ */
276
+ ChoiceAnswers?: ChoiceAnswers;
273
277
  IsApplicable?: IsApplicable;
274
278
  Risk?: Risk;
275
279
  Notes?: Notes;
280
+ /**
281
+ * The reason why the question is not applicable to your workload.
282
+ */
283
+ Reason?: AnswerReason;
276
284
  }
285
+ export type AnswerReason = "OUT_OF_SCOPE"|"BUSINESS_PRIORITIES"|"ARCHITECTURE_CONSTRAINTS"|"OTHER"|"NONE"|string;
277
286
  export type AnswerSummaries = AnswerSummary[];
278
287
  export interface AnswerSummary {
279
288
  QuestionId?: QuestionId;
@@ -281,8 +290,16 @@ declare namespace WellArchitected {
281
290
  QuestionTitle?: QuestionTitle;
282
291
  Choices?: Choices;
283
292
  SelectedChoices?: SelectedChoices;
293
+ /**
294
+ * A list of selected choices to a question in your workload.
295
+ */
296
+ ChoiceAnswerSummaries?: ChoiceAnswerSummaries;
284
297
  IsApplicable?: IsApplicable;
285
298
  Risk?: Risk;
299
+ /**
300
+ * The reason why a choice is non-applicable to a question in your workload.
301
+ */
302
+ Reason?: AnswerReason;
286
303
  }
287
304
  export interface AssociateLensesInput {
288
305
  WorkloadId: WorkloadId;
@@ -296,9 +313,55 @@ declare namespace WellArchitected {
296
313
  Title?: ChoiceTitle;
297
314
  Description?: ChoiceDescription;
298
315
  }
316
+ export interface ChoiceAnswer {
317
+ ChoiceId?: ChoiceId;
318
+ /**
319
+ * The status of a choice.
320
+ */
321
+ Status?: ChoiceStatus;
322
+ /**
323
+ * The reason why a choice is non-applicable to a question in your workload.
324
+ */
325
+ Reason?: ChoiceReason;
326
+ /**
327
+ * The notes associated with a choice.
328
+ */
329
+ Notes?: ChoiceNotes;
330
+ }
331
+ export type ChoiceAnswerSummaries = ChoiceAnswerSummary[];
332
+ export interface ChoiceAnswerSummary {
333
+ ChoiceId?: ChoiceId;
334
+ /**
335
+ * The status of a choice.
336
+ */
337
+ Status?: ChoiceStatus;
338
+ /**
339
+ * The reason why a choice is non-applicable to a question in your workload.
340
+ */
341
+ Reason?: ChoiceReason;
342
+ }
343
+ export type ChoiceAnswers = ChoiceAnswer[];
299
344
  export type ChoiceDescription = string;
300
345
  export type ChoiceId = string;
346
+ export type ChoiceNotes = string;
347
+ export type ChoiceReason = "OUT_OF_SCOPE"|"BUSINESS_PRIORITIES"|"ARCHITECTURE_CONSTRAINTS"|"OTHER"|"NONE"|string;
348
+ export type ChoiceStatus = "SELECTED"|"NOT_APPLICABLE"|"UNSELECTED"|string;
301
349
  export type ChoiceTitle = string;
350
+ export interface ChoiceUpdate {
351
+ /**
352
+ * The status of a choice.
353
+ */
354
+ Status: ChoiceStatus;
355
+ /**
356
+ * The reason why a choice is non-applicable to a question in your workload.
357
+ */
358
+ Reason?: ChoiceReason;
359
+ /**
360
+ * The notes associated with a choice.
361
+ */
362
+ Notes?: ChoiceNotes;
363
+ }
364
+ export type ChoiceUpdates = {[key: string]: ChoiceUpdate};
302
365
  export type Choices = Choice[];
303
366
  export type ClientRequestToken = string;
304
367
  export type Count = number;
@@ -751,7 +814,7 @@ declare namespace WellArchitected {
751
814
  export interface UntagResourceInput {
752
815
  WorkloadArn: WorkloadArn;
753
816
  /**
754
- * The keys of the tags to be removed.
817
+ * A list of tag keys. Existing tags of the resource whose keys are members of this list are removed from the resource.
755
818
  */
756
819
  TagKeys: TagKeyList;
757
820
  }
@@ -762,8 +825,16 @@ declare namespace WellArchitected {
762
825
  LensAlias: LensAlias;
763
826
  QuestionId: QuestionId;
764
827
  SelectedChoices?: SelectedChoices;
828
+ /**
829
+ * A list of choices to update on a question in your workload. The String key corresponds to the choice ID to be updated.
830
+ */
831
+ ChoiceUpdates?: ChoiceUpdates;
765
832
  Notes?: Notes;
766
833
  IsApplicable?: IsApplicable;
834
+ /**
835
+ * The reason why a question is not applicable to your workload.
836
+ */
837
+ Reason?: AnswerReason;
767
838
  }
768
839
  export interface UpdateAnswerOutput {
769
840
  WorkloadId?: WorkloadId;
@@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
83
83
  /**
84
84
  * @constant
85
85
  */
86
- VERSION: '2.945.0',
86
+ VERSION: '2.949.0',
87
87
 
88
88
  /**
89
89
  * @api private
@@ -2043,6 +2043,9 @@ return /******/ (function(modules) { // webpackBootstrap
2043
2043
  }
2044
2044
 
2045
2045
  function translateStructure(structure, shape) {
2046
+ if (shape.isDocument) {
2047
+ return structure;
2048
+ }
2046
2049
  var struct = {};
2047
2050
  util.each(structure, function(name, value) {
2048
2051
  var memberShape = shape.members[name];
@@ -2109,6 +2112,7 @@ return /******/ (function(modules) { // webpackBootstrap
2109
2112
 
2110
2113
  function translateStructure(structure, shape) {
2111
2114
  if (structure == null) return undefined;
2115
+ if (shape.isDocument) return structure;
2112
2116
 
2113
2117
  var struct = {};
2114
2118
  var shapeMembers = shape.members;
@@ -2630,6 +2634,7 @@ return /******/ (function(modules) { // webpackBootstrap
2630
2634
  property(this, 'memberNames', []);
2631
2635
  property(this, 'required', []);
2632
2636
  property(this, 'isRequired', function() { return false; });
2637
+ property(this, 'isDocument', Boolean(shape.document));
2633
2638
  }
2634
2639
 
2635
2640
  if (shape.members) {