aws-sdk 2.997.0 → 2.1001.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 (59) hide show
  1. package/CHANGELOG.md +28 -1
  2. package/README.md +1 -1
  3. package/apis/account-2021-02-01.examples.json +5 -0
  4. package/apis/account-2021-02-01.min.json +123 -0
  5. package/apis/account-2021-02-01.paginators.json +4 -0
  6. package/apis/apprunner-2020-05-15.min.json +10 -10
  7. package/apis/backup-2018-11-15.min.json +54 -42
  8. package/apis/cloudcontrol-2021-09-30.examples.json +5 -0
  9. package/apis/cloudcontrol-2021-09-30.min.json +271 -0
  10. package/apis/cloudcontrol-2021-09-30.paginators.json +14 -0
  11. package/apis/cloudcontrol-2021-09-30.waiters2.json +31 -0
  12. package/apis/codebuild-2016-10-06.min.json +74 -73
  13. package/apis/dataexchange-2017-07-25.min.json +277 -38
  14. package/apis/dataexchange-2017-07-25.paginators.json +6 -0
  15. package/apis/ec2-2016-11-15.min.json +1212 -879
  16. package/apis/ec2-2016-11-15.paginators.json +6 -0
  17. package/apis/ec2-2016-11-15.waiters2.json +6 -0
  18. package/apis/glue-2017-03-31.min.json +3 -0
  19. package/apis/kms-2014-11-01.examples.json +608 -8
  20. package/apis/location-2020-11-19.min.json +9 -6
  21. package/apis/macie2-2020-01-01.min.json +79 -67
  22. package/apis/metadata.json +6 -0
  23. package/apis/network-firewall-2020-11-12.min.json +65 -31
  24. package/apis/ssm-2014-11-06.min.json +3 -0
  25. package/apis/synthetics-2017-10-11.min.json +39 -9
  26. package/apis/workmail-2017-10-01.min.json +179 -27
  27. package/apis/workmail-2017-10-01.paginators.json +5 -0
  28. package/apis/workspaces-2015-04-08.min.json +83 -50
  29. package/clients/account.d.ts +136 -0
  30. package/clients/account.js +18 -0
  31. package/clients/all.d.ts +2 -0
  32. package/clients/all.js +3 -1
  33. package/clients/applicationautoscaling.d.ts +38 -38
  34. package/clients/apprunner.d.ts +55 -54
  35. package/clients/backup.d.ts +22 -10
  36. package/clients/cloudcontrol.d.ts +385 -0
  37. package/clients/cloudcontrol.js +19 -0
  38. package/clients/codebuild.d.ts +8 -3
  39. package/clients/dataexchange.d.ts +226 -2
  40. package/clients/ec2.d.ts +377 -2
  41. package/clients/glue.d.ts +7 -0
  42. package/clients/kms.d.ts +2 -2
  43. package/clients/location.d.ts +37 -24
  44. package/clients/macie2.d.ts +29 -12
  45. package/clients/networkfirewall.d.ts +61 -10
  46. package/clients/ssm.d.ts +7 -3
  47. package/clients/synthetics.d.ts +40 -0
  48. package/clients/workmail.d.ts +214 -0
  49. package/clients/workspaces.d.ts +87 -40
  50. package/dist/aws-sdk-core-react-native.js +2 -3
  51. package/dist/aws-sdk-react-native.js +102 -37
  52. package/dist/aws-sdk.js +1319 -977
  53. package/dist/aws-sdk.min.js +77 -77
  54. package/lib/config_service_placeholders.d.ts +4 -0
  55. package/lib/core.js +1 -1
  56. package/lib/event_listeners.js +0 -1
  57. package/lib/services/s3.js +0 -15
  58. package/package.json +1 -1
  59. package/scripts/region-checker/allowlist.js +7 -7
@@ -27,6 +27,14 @@ declare class DataExchange extends Service {
27
27
  * This operation creates a data set.
28
28
  */
29
29
  createDataSet(callback?: (err: AWSError, data: DataExchange.Types.CreateDataSetResponse) => void): Request<DataExchange.Types.CreateDataSetResponse, AWSError>;
30
+ /**
31
+ * This operation creates an event action.
32
+ */
33
+ createEventAction(params: DataExchange.Types.CreateEventActionRequest, callback?: (err: AWSError, data: DataExchange.Types.CreateEventActionResponse) => void): Request<DataExchange.Types.CreateEventActionResponse, AWSError>;
34
+ /**
35
+ * This operation creates an event action.
36
+ */
37
+ createEventAction(callback?: (err: AWSError, data: DataExchange.Types.CreateEventActionResponse) => void): Request<DataExchange.Types.CreateEventActionResponse, AWSError>;
30
38
  /**
31
39
  * This operation creates a job.
32
40
  */
@@ -59,6 +67,14 @@ declare class DataExchange extends Service {
59
67
  * This operation deletes a data set.
60
68
  */
61
69
  deleteDataSet(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
70
+ /**
71
+ * This operation deletes the event action.
72
+ */
73
+ deleteEventAction(params: DataExchange.Types.DeleteEventActionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
74
+ /**
75
+ * This operation deletes the event action.
76
+ */
77
+ deleteEventAction(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
62
78
  /**
63
79
  * This operation deletes a revision.
64
80
  */
@@ -83,6 +99,14 @@ declare class DataExchange extends Service {
83
99
  * This operation returns information about a data set.
84
100
  */
85
101
  getDataSet(callback?: (err: AWSError, data: DataExchange.Types.GetDataSetResponse) => void): Request<DataExchange.Types.GetDataSetResponse, AWSError>;
102
+ /**
103
+ * This operation retrieves information about an event action.
104
+ */
105
+ getEventAction(params: DataExchange.Types.GetEventActionRequest, callback?: (err: AWSError, data: DataExchange.Types.GetEventActionResponse) => void): Request<DataExchange.Types.GetEventActionResponse, AWSError>;
106
+ /**
107
+ * This operation retrieves information about an event action.
108
+ */
109
+ getEventAction(callback?: (err: AWSError, data: DataExchange.Types.GetEventActionResponse) => void): Request<DataExchange.Types.GetEventActionResponse, AWSError>;
86
110
  /**
87
111
  * This operation returns information about a job.
88
112
  */
@@ -115,6 +139,14 @@ declare class DataExchange extends Service {
115
139
  * This operation lists your data sets. When listing by origin OWNED, results are sorted by CreatedAt in descending order. When listing by origin ENTITLED, there is no order and the maxResults parameter is ignored.
116
140
  */
117
141
  listDataSets(callback?: (err: AWSError, data: DataExchange.Types.ListDataSetsResponse) => void): Request<DataExchange.Types.ListDataSetsResponse, AWSError>;
142
+ /**
143
+ * This operation lists your event actions.
144
+ */
145
+ listEventActions(params: DataExchange.Types.ListEventActionsRequest, callback?: (err: AWSError, data: DataExchange.Types.ListEventActionsResponse) => void): Request<DataExchange.Types.ListEventActionsResponse, AWSError>;
146
+ /**
147
+ * This operation lists your event actions.
148
+ */
149
+ listEventActions(callback?: (err: AWSError, data: DataExchange.Types.ListEventActionsResponse) => void): Request<DataExchange.Types.ListEventActionsResponse, AWSError>;
118
150
  /**
119
151
  * This operation lists your jobs sorted by CreatedAt in descending order.
120
152
  */
@@ -179,6 +211,14 @@ declare class DataExchange extends Service {
179
211
  * This operation updates a data set.
180
212
  */
181
213
  updateDataSet(callback?: (err: AWSError, data: DataExchange.Types.UpdateDataSetResponse) => void): Request<DataExchange.Types.UpdateDataSetResponse, AWSError>;
214
+ /**
215
+ * This operation updates the event action.
216
+ */
217
+ updateEventAction(params: DataExchange.Types.UpdateEventActionRequest, callback?: (err: AWSError, data: DataExchange.Types.UpdateEventActionResponse) => void): Request<DataExchange.Types.UpdateEventActionResponse, AWSError>;
218
+ /**
219
+ * This operation updates the event action.
220
+ */
221
+ updateEventAction(callback?: (err: AWSError, data: DataExchange.Types.UpdateEventActionResponse) => void): Request<DataExchange.Types.UpdateEventActionResponse, AWSError>;
182
222
  /**
183
223
  * This operation updates a revision.
184
224
  */
@@ -189,6 +229,9 @@ declare class DataExchange extends Service {
189
229
  updateRevision(callback?: (err: AWSError, data: DataExchange.Types.UpdateRevisionResponse) => void): Request<DataExchange.Types.UpdateRevisionResponse, AWSError>;
190
230
  }
191
231
  declare namespace DataExchange {
232
+ export interface Action {
233
+ ExportRevisionToS3?: AutoExportRevisionToS3RequestDetails;
234
+ }
192
235
  export type Arn = string;
193
236
  export interface AssetDestinationEntry {
194
237
  /**
@@ -261,6 +304,20 @@ declare namespace DataExchange {
261
304
  Key: __string;
262
305
  }
263
306
  export type AssetType = "S3_SNAPSHOT"|string;
307
+ export interface AutoExportRevisionDestinationEntry {
308
+ /**
309
+ * The S3 bucket that is the destination for the event action.
310
+ */
311
+ Bucket: __string;
312
+ /**
313
+ * A string representing the pattern for generated names of the individual assets in the revision. For more information about key patterns, see Key patterns when exporting revisions.
314
+ */
315
+ KeyPattern?: __string;
316
+ }
317
+ export interface AutoExportRevisionToS3RequestDetails {
318
+ Encryption?: ExportServerSideEncryption;
319
+ RevisionDestination: AutoExportRevisionDestinationEntry;
320
+ }
264
321
  export interface CancelJobRequest {
265
322
  /**
266
323
  * The unique identifier for a job.
@@ -332,6 +389,42 @@ declare namespace DataExchange {
332
389
  */
333
390
  UpdatedAt?: Timestamp;
334
391
  }
392
+ export interface CreateEventActionRequest {
393
+ /**
394
+ * What occurs after a certain event.
395
+ */
396
+ Action: Action;
397
+ /**
398
+ * What occurs to start an action.
399
+ */
400
+ Event: Event;
401
+ }
402
+ export interface CreateEventActionResponse {
403
+ /**
404
+ * What occurs after a certain event.
405
+ */
406
+ Action?: Action;
407
+ /**
408
+ * The ARN for the event action.
409
+ */
410
+ Arn?: Arn;
411
+ /**
412
+ * The date and time that the event action was created, in ISO 8601 format.
413
+ */
414
+ CreatedAt?: Timestamp;
415
+ /**
416
+ * What occurs to start an action.
417
+ */
418
+ Event?: Event;
419
+ /**
420
+ * The unique identifier for the event action.
421
+ */
422
+ Id?: Id;
423
+ /**
424
+ * The date and time that the event action was last updated, in ISO 8601 format.
425
+ */
426
+ UpdatedAt?: Timestamp;
427
+ }
335
428
  export interface CreateJobRequest {
336
429
  /**
337
430
  * The details for the CreateJob request.
@@ -490,6 +583,12 @@ declare namespace DataExchange {
490
583
  */
491
584
  DataSetId: __string;
492
585
  }
586
+ export interface DeleteEventActionRequest {
587
+ /**
588
+ * The unique identifier for the event action.
589
+ */
590
+ EventActionId: __string;
591
+ }
493
592
  export interface DeleteRevisionRequest {
494
593
  /**
495
594
  * The unique identifier for a data set.
@@ -505,6 +604,35 @@ declare namespace DataExchange {
505
604
  ImportAssetFromSignedUrlJobErrorDetails?: ImportAssetFromSignedUrlJobErrorDetails;
506
605
  ImportAssetsFromS3JobErrorDetails?: ListOfAssetSourceEntry;
507
606
  }
607
+ export interface Event {
608
+ RevisionPublished?: RevisionPublished;
609
+ }
610
+ export interface EventActionEntry {
611
+ /**
612
+ * What occurs after a certain event.
613
+ */
614
+ Action: Action;
615
+ /**
616
+ * The ARN for the event action.
617
+ */
618
+ Arn: Arn;
619
+ /**
620
+ * The date and time that the event action was created, in ISO 8601 format.
621
+ */
622
+ CreatedAt: Timestamp;
623
+ /**
624
+ * What occurs to start an action.
625
+ */
626
+ Event: Event;
627
+ /**
628
+ * The unique identifier for the event action.
629
+ */
630
+ Id: Id;
631
+ /**
632
+ * The date and time that the event action was last updated, in ISO 8601 format.
633
+ */
634
+ UpdatedAt: Timestamp;
635
+ }
508
636
  export interface ExportAssetToSignedUrlRequestDetails {
509
637
  /**
510
638
  * The unique identifier for the asset that is exported to a signed URL.
@@ -607,7 +735,7 @@ declare namespace DataExchange {
607
735
  }
608
736
  export interface ExportServerSideEncryption {
609
737
  /**
610
- * The Amazon Resource Name (ARN) of the the AWS KMS key you want to use to encrypt the Amazon S3 objects. This parameter is required if you choose aws:kms as an encryption type.
738
+ * The Amazon Resource Name (ARN) of the AWS KMS key you want to use to encrypt the Amazon S3 objects. This parameter is required if you choose aws:kms as an encryption type.
611
739
  */
612
740
  KmsKeyArn?: __string;
613
741
  /**
@@ -723,6 +851,38 @@ declare namespace DataExchange {
723
851
  */
724
852
  UpdatedAt?: Timestamp;
725
853
  }
854
+ export interface GetEventActionRequest {
855
+ /**
856
+ * The unique identifier for the event action.
857
+ */
858
+ EventActionId: __string;
859
+ }
860
+ export interface GetEventActionResponse {
861
+ /**
862
+ * What occurs after a certain event.
863
+ */
864
+ Action?: Action;
865
+ /**
866
+ * The ARN for the event action.
867
+ */
868
+ Arn?: Arn;
869
+ /**
870
+ * The date and time that the event action was created, in ISO 8601 format.
871
+ */
872
+ CreatedAt?: Timestamp;
873
+ /**
874
+ * What occurs to start an action.
875
+ */
876
+ Event?: Event;
877
+ /**
878
+ * The unique identifier for the event action.
879
+ */
880
+ Id?: Id;
881
+ /**
882
+ * The date and time that the event action was last updated, in ISO 8601 format.
883
+ */
884
+ UpdatedAt?: Timestamp;
885
+ }
726
886
  export interface GetJobRequest {
727
887
  /**
728
888
  * The unique identifier for a job.
@@ -949,7 +1109,7 @@ declare namespace DataExchange {
949
1109
  ResourceType?: JobErrorResourceTypes;
950
1110
  }
951
1111
  export type JobErrorLimitName = "Assets per revision"|"Asset size in GB"|string;
952
- export type JobErrorResourceTypes = "REVISION"|"ASSET"|string;
1112
+ export type JobErrorResourceTypes = "REVISION"|"ASSET"|"DATA_SET"|string;
953
1113
  export interface ListDataSetRevisionsRequest {
954
1114
  /**
955
1115
  * The unique identifier for a data set.
@@ -998,6 +1158,30 @@ declare namespace DataExchange {
998
1158
  */
999
1159
  NextToken?: NextToken;
1000
1160
  }
1161
+ export interface ListEventActionsRequest {
1162
+ /**
1163
+ * The unique identifier for the event source.
1164
+ */
1165
+ EventSourceId?: __string;
1166
+ /**
1167
+ * The maximum number of results returned by a single call.
1168
+ */
1169
+ MaxResults?: MaxResults;
1170
+ /**
1171
+ * The token value retrieved from a previous call to access the next page of results.
1172
+ */
1173
+ NextToken?: __string;
1174
+ }
1175
+ export interface ListEventActionsResponse {
1176
+ /**
1177
+ * The event action objects listed by the request.
1178
+ */
1179
+ EventActions?: ListOfEventActionEntry;
1180
+ /**
1181
+ * The token value retrieved from a previous call to access the next page of results.
1182
+ */
1183
+ NextToken?: NextToken;
1184
+ }
1001
1185
  export interface ListJobsRequest {
1002
1186
  /**
1003
1187
  * The unique identifier for a data set.
@@ -1168,6 +1352,9 @@ declare namespace DataExchange {
1168
1352
  */
1169
1353
  UpdatedAt: Timestamp;
1170
1354
  }
1355
+ export interface RevisionPublished {
1356
+ DataSetId: Id;
1357
+ }
1171
1358
  export interface S3SnapshotAsset {
1172
1359
  /**
1173
1360
  * The size of the S3 object that is the object.
@@ -1322,6 +1509,42 @@ declare namespace DataExchange {
1322
1509
  */
1323
1510
  UpdatedAt?: Timestamp;
1324
1511
  }
1512
+ export interface UpdateEventActionRequest {
1513
+ /**
1514
+ * What occurs after a certain event.
1515
+ */
1516
+ Action?: Action;
1517
+ /**
1518
+ * The unique identifier for the event action.
1519
+ */
1520
+ EventActionId: __string;
1521
+ }
1522
+ export interface UpdateEventActionResponse {
1523
+ /**
1524
+ * What occurs after a certain event.
1525
+ */
1526
+ Action?: Action;
1527
+ /**
1528
+ * The ARN for the event action.
1529
+ */
1530
+ Arn?: Arn;
1531
+ /**
1532
+ * The date and time that the event action was created, in ISO 8601 format.
1533
+ */
1534
+ CreatedAt?: Timestamp;
1535
+ /**
1536
+ * What occurs to start an action.
1537
+ */
1538
+ Event?: Event;
1539
+ /**
1540
+ * The unique identifier for the event action.
1541
+ */
1542
+ Id?: Id;
1543
+ /**
1544
+ * The date and time that the event action was last updated, in ISO 8601 format.
1545
+ */
1546
+ UpdatedAt?: Timestamp;
1547
+ }
1325
1548
  export interface UpdateRevisionRequest {
1326
1549
  /**
1327
1550
  * An optional comment about the revision.
@@ -1379,6 +1602,7 @@ declare namespace DataExchange {
1379
1602
  export type __doubleMin0 = number;
1380
1603
  export type ListOfAssetEntry = AssetEntry[];
1381
1604
  export type ListOfDataSetEntry = DataSetEntry[];
1605
+ export type ListOfEventActionEntry = EventActionEntry[];
1382
1606
  export type ListOfJobEntry = JobEntry[];
1383
1607
  export type ListOfJobError = JobError[];
1384
1608
  export type ListOfRevisionEntry = RevisionEntry[];