aws-sdk 2.1639.0 → 2.1641.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 (49) hide show
  1. package/README.md +1 -1
  2. package/apis/apptest-2022-12-06.min.json +1917 -0
  3. package/apis/apptest-2022-12-06.paginators.json +40 -0
  4. package/apis/apptest-2022-12-06.waiters2.json +5 -0
  5. package/apis/cloudhsmv2-2017-04-28.min.json +26 -19
  6. package/apis/ec2-2016-11-15.min.json +160 -107
  7. package/apis/glue-2017-03-31.min.json +99 -98
  8. package/apis/iotwireless-2020-11-22.min.json +4 -1
  9. package/apis/kms-2014-11-01.examples.json +29 -0
  10. package/apis/kms-2014-11-01.min.json +76 -23
  11. package/apis/mediapackagev2-2022-12-25.examples.json +1271 -0
  12. package/apis/mediapackagev2-2022-12-25.min.json +108 -71
  13. package/apis/metadata.json +3 -3
  14. package/apis/osis-2022-01-01.min.json +33 -28
  15. package/apis/redshift-2012-12-01.min.json +7 -1
  16. package/apis/secretsmanager-2017-10-17.min.json +8 -1
  17. package/apis/securitylake-2018-05-10.min.json +7 -1
  18. package/apis/sesv2-2019-09-27.min.json +139 -121
  19. package/clients/all.d.ts +1 -1
  20. package/clients/all.js +2 -2
  21. package/clients/apptest.d.ts +2019 -0
  22. package/clients/apptest.js +19 -0
  23. package/clients/cloudhsmv2.d.ts +18 -1
  24. package/clients/ec2.d.ts +57 -3
  25. package/clients/glue.d.ts +6 -1
  26. package/clients/iotwireless.d.ts +1 -1
  27. package/clients/kms.d.ts +80 -14
  28. package/clients/mediapackagev2.d.ts +57 -4
  29. package/clients/osis.d.ts +9 -0
  30. package/clients/redshift.d.ts +16 -16
  31. package/clients/secretsmanager.d.ts +18 -13
  32. package/clients/securitylake.d.ts +3 -3
  33. package/clients/sesv2.d.ts +24 -10
  34. package/dist/aws-sdk-core-react-native.js +2 -2
  35. package/dist/aws-sdk-react-native.js +555 -539
  36. package/dist/aws-sdk.js +292 -157
  37. package/dist/aws-sdk.min.js +93 -93
  38. package/lib/config_service_placeholders.d.ts +2 -2
  39. package/lib/core.js +1 -1
  40. package/lib/credentials/cognito_identity_credentials.js +9 -0
  41. package/lib/shared-ini/ini-loader.d.ts +24 -1
  42. package/lib/shared-ini/ini-loader.js +0 -6
  43. package/package.json +1 -1
  44. package/scripts/region-checker/allowlist.js +3 -3
  45. package/apis/backupstorage-2018-04-10.min.json +0 -522
  46. package/apis/backupstorage-2018-04-10.paginators.json +0 -14
  47. package/clients/backupstorage.d.ts +0 -469
  48. package/clients/backupstorage.js +0 -18
  49. /package/apis/{backupstorage-2018-04-10.examples.json → apptest-2022-12-06.examples.json} +0 -0
@@ -308,7 +308,6 @@ export abstract class ConfigurationServicePlaceholders {
308
308
  redshiftserverless?: AWS.RedshiftServerless.Types.ClientConfiguration;
309
309
  rolesanywhere?: AWS.RolesAnywhere.Types.ClientConfiguration;
310
310
  licensemanagerusersubscriptions?: AWS.LicenseManagerUserSubscriptions.Types.ClientConfiguration;
311
- backupstorage?: AWS.BackupStorage.Types.ClientConfiguration;
312
311
  privatenetworks?: AWS.PrivateNetworks.Types.ClientConfiguration;
313
312
  supportapp?: AWS.SupportApp.Types.ClientConfiguration;
314
313
  controltower?: AWS.ControlTower.Types.ClientConfiguration;
@@ -384,6 +383,7 @@ export abstract class ConfigurationServicePlaceholders {
384
383
  taxsettings?: AWS.TaxSettings.Types.ClientConfiguration;
385
384
  applicationsignals?: AWS.ApplicationSignals.Types.ClientConfiguration;
386
385
  pcaconnectorscep?: AWS.PcaConnectorScep.Types.ClientConfiguration;
386
+ apptest?: AWS.AppTest.Types.ClientConfiguration;
387
387
  }
388
388
  export interface ConfigurationServiceApiVersions {
389
389
  acm?: AWS.ACM.Types.apiVersion;
@@ -694,7 +694,6 @@ export interface ConfigurationServiceApiVersions {
694
694
  redshiftserverless?: AWS.RedshiftServerless.Types.apiVersion;
695
695
  rolesanywhere?: AWS.RolesAnywhere.Types.apiVersion;
696
696
  licensemanagerusersubscriptions?: AWS.LicenseManagerUserSubscriptions.Types.apiVersion;
697
- backupstorage?: AWS.BackupStorage.Types.apiVersion;
698
697
  privatenetworks?: AWS.PrivateNetworks.Types.apiVersion;
699
698
  supportapp?: AWS.SupportApp.Types.apiVersion;
700
699
  controltower?: AWS.ControlTower.Types.apiVersion;
@@ -770,4 +769,5 @@ export interface ConfigurationServiceApiVersions {
770
769
  taxsettings?: AWS.TaxSettings.Types.apiVersion;
771
770
  applicationsignals?: AWS.ApplicationSignals.Types.apiVersion;
772
771
  pcaconnectorscep?: AWS.PcaConnectorScep.Types.apiVersion;
772
+ apptest?: AWS.AppTest.Types.apiVersion;
773
773
  }
package/lib/core.js CHANGED
@@ -20,7 +20,7 @@ AWS.util.update(AWS, {
20
20
  /**
21
21
  * @constant
22
22
  */
23
- VERSION: '2.1639.0',
23
+ VERSION: '2.1641.0',
24
24
 
25
25
  /**
26
26
  * @api private
@@ -23,6 +23,15 @@ var STS = require('../../clients/sts');
23
23
  * identity providers. See {constructor} for an example on creating a credentials
24
24
  * object with proper property values.
25
25
  *
26
+ * DISCLAIMER: This convenience method leverages the Enhanced (simplified) Authflow. The underlying
27
+ * implementation calls Cognito's `getId()` and `GetCredentialsForIdentity()`.
28
+ * In this flow there is no way to explicitly set a session policy, resulting in
29
+ * STS attaching the default policy and limiting the permissions of the federated role.
30
+ * To be able to explicitly set a session policy, do not use this convenience method.
31
+ * Instead, you can use the Cognito client to call `getId()`, `GetOpenIdToken()` and then use
32
+ * that token with your desired session policy to call STS's `AssumeRoleWithWebIdentity()`
33
+ * For further reading refer to: https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html
34
+ *
26
35
  * ## Refreshing Credentials from Identity Service
27
36
  *
28
37
  * In addition to AWS credentials expiring after a given amount of time, the
@@ -24,7 +24,30 @@ export class IniLoader{
24
24
  * Load configurations from config/credentials files and cache them
25
25
  * for later use. If no file is specified it will try to load default
26
26
  * files.
27
- * @returns {object} object of all profile information in the file
27
+ * @returns {Record<string, string>} object of all profile information in the file
28
28
  */
29
29
  loadFrom(options: LoadFileOptions): IniFileContent;
30
+
31
+ /**
32
+ * Load sso sessions from config/credentials files and cache them
33
+ * for later use. If no file is specified it will try to load default
34
+ * files.
35
+ * @returns {Record<string, string>} object of all sso sessions information in the file
36
+ */
37
+ loadSsoSessionsFrom(options: LoadFileOptions): IniFileContent;
38
+
39
+ /**
40
+ * Get default file path for config/credentials files.
41
+ *
42
+ * @param isConfig whether the file is a config file or a credentials file
43
+ * @returns {string} default file path
44
+ */
45
+ getDefaultFilePath(isConfig: boolean): string;
46
+
47
+ /**
48
+ * Get Home directory of the current user.
49
+ *
50
+ * @returns {string} home directory path
51
+ * */
52
+ getHomeDir(): string;
30
53
  }
@@ -103,9 +103,6 @@ AWS.IniLoader = AWS.util.inherit({
103
103
  return this.resolvedSsoSessions[filename];
104
104
  },
105
105
 
106
- /**
107
- * @api private
108
- */
109
106
  getDefaultFilePath: function getDefaultFilePath(isConfig) {
110
107
  return path.join(
111
108
  this.getHomeDir(),
@@ -114,9 +111,6 @@ AWS.IniLoader = AWS.util.inherit({
114
111
  );
115
112
  },
116
113
 
117
- /**
118
- * @api private
119
- */
120
114
  getHomeDir: function getHomeDir() {
121
115
  var env = process.env;
122
116
  var home = env.HOME ||
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aws-sdk",
3
3
  "description": "AWS SDK for JavaScript",
4
- "version": "2.1639.0",
4
+ "version": "2.1641.0",
5
5
  "author": {
6
6
  "name": "Amazon Web Services",
7
7
  "email": "",
@@ -9,9 +9,9 @@ var allowlist = {
9
9
  262
10
10
  ],
11
11
  '/credentials/cognito_identity_credentials.js': [
12
- 78,
13
- 79,
14
- 109
12
+ 87,
13
+ 88,
14
+ 118
15
15
  ],
16
16
  '/credentials/shared_ini_file_credentials.js': [
17
17
  4,
@@ -1,522 +0,0 @@
1
- {
2
- "version": "2.0",
3
- "metadata": {
4
- "apiVersion": "2018-04-10",
5
- "endpointPrefix": "backupstorage",
6
- "jsonVersion": "1.1",
7
- "protocol": "rest-json",
8
- "serviceFullName": "AWS Backup Storage",
9
- "serviceId": "BackupStorage",
10
- "signatureVersion": "v4",
11
- "signingName": "backup-storage",
12
- "uid": "backupstorage-2018-04-10"
13
- },
14
- "operations": {
15
- "DeleteObject": {
16
- "http": {
17
- "method": "DELETE",
18
- "requestUri": "/backup-jobs/{jobId}/object/{objectName}"
19
- },
20
- "input": {
21
- "type": "structure",
22
- "required": [
23
- "BackupJobId",
24
- "ObjectName"
25
- ],
26
- "members": {
27
- "BackupJobId": {
28
- "location": "uri",
29
- "locationName": "jobId"
30
- },
31
- "ObjectName": {
32
- "location": "uri",
33
- "locationName": "objectName"
34
- }
35
- }
36
- }
37
- },
38
- "GetChunk": {
39
- "http": {
40
- "method": "GET",
41
- "requestUri": "/restore-jobs/{jobId}/chunk/{chunkToken}"
42
- },
43
- "input": {
44
- "type": "structure",
45
- "required": [
46
- "StorageJobId",
47
- "ChunkToken"
48
- ],
49
- "members": {
50
- "StorageJobId": {
51
- "location": "uri",
52
- "locationName": "jobId"
53
- },
54
- "ChunkToken": {
55
- "location": "uri",
56
- "locationName": "chunkToken"
57
- }
58
- }
59
- },
60
- "output": {
61
- "type": "structure",
62
- "required": [
63
- "Data",
64
- "Length",
65
- "Checksum",
66
- "ChecksumAlgorithm"
67
- ],
68
- "members": {
69
- "Data": {
70
- "shape": "S5"
71
- },
72
- "Length": {
73
- "location": "header",
74
- "locationName": "x-amz-data-length",
75
- "type": "long"
76
- },
77
- "Checksum": {
78
- "location": "header",
79
- "locationName": "x-amz-checksum"
80
- },
81
- "ChecksumAlgorithm": {
82
- "location": "header",
83
- "locationName": "x-amz-checksum-algorithm"
84
- }
85
- },
86
- "payload": "Data"
87
- }
88
- },
89
- "GetObjectMetadata": {
90
- "http": {
91
- "method": "GET",
92
- "requestUri": "/restore-jobs/{jobId}/object/{objectToken}/metadata"
93
- },
94
- "input": {
95
- "type": "structure",
96
- "required": [
97
- "StorageJobId",
98
- "ObjectToken"
99
- ],
100
- "members": {
101
- "StorageJobId": {
102
- "location": "uri",
103
- "locationName": "jobId"
104
- },
105
- "ObjectToken": {
106
- "location": "uri",
107
- "locationName": "objectToken"
108
- }
109
- }
110
- },
111
- "output": {
112
- "type": "structure",
113
- "members": {
114
- "MetadataString": {
115
- "location": "header",
116
- "locationName": "x-amz-metadata-string"
117
- },
118
- "MetadataBlob": {
119
- "shape": "S5"
120
- },
121
- "MetadataBlobLength": {
122
- "location": "header",
123
- "locationName": "x-amz-data-length",
124
- "type": "long"
125
- },
126
- "MetadataBlobChecksum": {
127
- "location": "header",
128
- "locationName": "x-amz-checksum"
129
- },
130
- "MetadataBlobChecksumAlgorithm": {
131
- "location": "header",
132
- "locationName": "x-amz-checksum-algorithm"
133
- }
134
- },
135
- "payload": "MetadataBlob"
136
- }
137
- },
138
- "ListChunks": {
139
- "http": {
140
- "method": "GET",
141
- "requestUri": "/restore-jobs/{jobId}/chunks/{objectToken}/list"
142
- },
143
- "input": {
144
- "type": "structure",
145
- "required": [
146
- "StorageJobId",
147
- "ObjectToken"
148
- ],
149
- "members": {
150
- "StorageJobId": {
151
- "location": "uri",
152
- "locationName": "jobId"
153
- },
154
- "ObjectToken": {
155
- "location": "uri",
156
- "locationName": "objectToken"
157
- },
158
- "MaxResults": {
159
- "location": "querystring",
160
- "locationName": "max-results",
161
- "type": "integer"
162
- },
163
- "NextToken": {
164
- "location": "querystring",
165
- "locationName": "next-token"
166
- }
167
- }
168
- },
169
- "output": {
170
- "type": "structure",
171
- "required": [
172
- "ChunkList"
173
- ],
174
- "members": {
175
- "ChunkList": {
176
- "type": "list",
177
- "member": {
178
- "type": "structure",
179
- "required": [
180
- "Index",
181
- "Length",
182
- "Checksum",
183
- "ChecksumAlgorithm",
184
- "ChunkToken"
185
- ],
186
- "members": {
187
- "Index": {
188
- "type": "long"
189
- },
190
- "Length": {
191
- "type": "long"
192
- },
193
- "Checksum": {},
194
- "ChecksumAlgorithm": {},
195
- "ChunkToken": {}
196
- }
197
- }
198
- },
199
- "NextToken": {}
200
- }
201
- }
202
- },
203
- "ListObjects": {
204
- "http": {
205
- "method": "GET",
206
- "requestUri": "/restore-jobs/{jobId}/objects/list"
207
- },
208
- "input": {
209
- "type": "structure",
210
- "required": [
211
- "StorageJobId"
212
- ],
213
- "members": {
214
- "StorageJobId": {
215
- "location": "uri",
216
- "locationName": "jobId"
217
- },
218
- "StartingObjectName": {
219
- "location": "querystring",
220
- "locationName": "starting-object-name"
221
- },
222
- "StartingObjectPrefix": {
223
- "location": "querystring",
224
- "locationName": "starting-object-prefix"
225
- },
226
- "MaxResults": {
227
- "location": "querystring",
228
- "locationName": "max-results",
229
- "type": "integer"
230
- },
231
- "NextToken": {
232
- "location": "querystring",
233
- "locationName": "next-token"
234
- },
235
- "CreatedBefore": {
236
- "location": "querystring",
237
- "locationName": "created-before",
238
- "type": "timestamp"
239
- },
240
- "CreatedAfter": {
241
- "location": "querystring",
242
- "locationName": "created-after",
243
- "type": "timestamp"
244
- }
245
- }
246
- },
247
- "output": {
248
- "type": "structure",
249
- "required": [
250
- "ObjectList"
251
- ],
252
- "members": {
253
- "ObjectList": {
254
- "type": "list",
255
- "member": {
256
- "type": "structure",
257
- "required": [
258
- "Name",
259
- "ObjectChecksum",
260
- "ObjectChecksumAlgorithm",
261
- "ObjectToken"
262
- ],
263
- "members": {
264
- "Name": {},
265
- "ChunksCount": {
266
- "type": "long"
267
- },
268
- "MetadataString": {},
269
- "ObjectChecksum": {},
270
- "ObjectChecksumAlgorithm": {},
271
- "ObjectToken": {}
272
- }
273
- }
274
- },
275
- "NextToken": {}
276
- }
277
- }
278
- },
279
- "NotifyObjectComplete": {
280
- "http": {
281
- "method": "PUT",
282
- "requestUri": "/backup-jobs/{jobId}/object/{uploadId}/complete"
283
- },
284
- "input": {
285
- "type": "structure",
286
- "required": [
287
- "BackupJobId",
288
- "UploadId",
289
- "ObjectChecksum",
290
- "ObjectChecksumAlgorithm"
291
- ],
292
- "members": {
293
- "BackupJobId": {
294
- "location": "uri",
295
- "locationName": "jobId"
296
- },
297
- "UploadId": {
298
- "location": "uri",
299
- "locationName": "uploadId"
300
- },
301
- "ObjectChecksum": {
302
- "location": "querystring",
303
- "locationName": "checksum"
304
- },
305
- "ObjectChecksumAlgorithm": {
306
- "location": "querystring",
307
- "locationName": "checksum-algorithm"
308
- },
309
- "MetadataString": {
310
- "location": "querystring",
311
- "locationName": "metadata-string"
312
- },
313
- "MetadataBlob": {
314
- "shape": "S5"
315
- },
316
- "MetadataBlobLength": {
317
- "location": "querystring",
318
- "locationName": "metadata-blob-length",
319
- "type": "long"
320
- },
321
- "MetadataBlobChecksum": {
322
- "location": "querystring",
323
- "locationName": "metadata-checksum"
324
- },
325
- "MetadataBlobChecksumAlgorithm": {
326
- "location": "querystring",
327
- "locationName": "metadata-checksum-algorithm"
328
- }
329
- },
330
- "payload": "MetadataBlob"
331
- },
332
- "output": {
333
- "type": "structure",
334
- "required": [
335
- "ObjectChecksum",
336
- "ObjectChecksumAlgorithm"
337
- ],
338
- "members": {
339
- "ObjectChecksum": {},
340
- "ObjectChecksumAlgorithm": {}
341
- }
342
- },
343
- "authtype": "v4-unsigned-body"
344
- },
345
- "PutChunk": {
346
- "http": {
347
- "method": "PUT",
348
- "requestUri": "/backup-jobs/{jobId}/chunk/{uploadId}/{chunkIndex}"
349
- },
350
- "input": {
351
- "type": "structure",
352
- "required": [
353
- "BackupJobId",
354
- "UploadId",
355
- "ChunkIndex",
356
- "Data",
357
- "Length",
358
- "Checksum",
359
- "ChecksumAlgorithm"
360
- ],
361
- "members": {
362
- "BackupJobId": {
363
- "location": "uri",
364
- "locationName": "jobId"
365
- },
366
- "UploadId": {
367
- "location": "uri",
368
- "locationName": "uploadId"
369
- },
370
- "ChunkIndex": {
371
- "location": "uri",
372
- "locationName": "chunkIndex",
373
- "type": "long"
374
- },
375
- "Data": {
376
- "shape": "S5"
377
- },
378
- "Length": {
379
- "location": "querystring",
380
- "locationName": "length",
381
- "type": "long"
382
- },
383
- "Checksum": {
384
- "location": "querystring",
385
- "locationName": "checksum"
386
- },
387
- "ChecksumAlgorithm": {
388
- "location": "querystring",
389
- "locationName": "checksum-algorithm"
390
- }
391
- },
392
- "payload": "Data"
393
- },
394
- "output": {
395
- "type": "structure",
396
- "required": [
397
- "ChunkChecksum",
398
- "ChunkChecksumAlgorithm"
399
- ],
400
- "members": {
401
- "ChunkChecksum": {},
402
- "ChunkChecksumAlgorithm": {}
403
- }
404
- },
405
- "authtype": "v4-unsigned-body"
406
- },
407
- "PutObject": {
408
- "http": {
409
- "method": "PUT",
410
- "requestUri": "/backup-jobs/{jobId}/object/{objectName}/put-object"
411
- },
412
- "input": {
413
- "type": "structure",
414
- "required": [
415
- "BackupJobId",
416
- "ObjectName"
417
- ],
418
- "members": {
419
- "BackupJobId": {
420
- "location": "uri",
421
- "locationName": "jobId"
422
- },
423
- "ObjectName": {
424
- "location": "uri",
425
- "locationName": "objectName"
426
- },
427
- "MetadataString": {
428
- "location": "querystring",
429
- "locationName": "metadata-string"
430
- },
431
- "InlineChunk": {
432
- "shape": "S5"
433
- },
434
- "InlineChunkLength": {
435
- "location": "querystring",
436
- "locationName": "length",
437
- "type": "long"
438
- },
439
- "InlineChunkChecksum": {
440
- "location": "querystring",
441
- "locationName": "checksum"
442
- },
443
- "InlineChunkChecksumAlgorithm": {
444
- "location": "querystring",
445
- "locationName": "checksum-algorithm"
446
- },
447
- "ObjectChecksum": {
448
- "location": "querystring",
449
- "locationName": "object-checksum"
450
- },
451
- "ObjectChecksumAlgorithm": {
452
- "location": "querystring",
453
- "locationName": "object-checksum-algorithm"
454
- },
455
- "ThrowOnDuplicate": {
456
- "location": "querystring",
457
- "locationName": "throwOnDuplicate",
458
- "type": "boolean"
459
- }
460
- },
461
- "payload": "InlineChunk"
462
- },
463
- "output": {
464
- "type": "structure",
465
- "required": [
466
- "InlineChunkChecksum",
467
- "InlineChunkChecksumAlgorithm",
468
- "ObjectChecksum",
469
- "ObjectChecksumAlgorithm"
470
- ],
471
- "members": {
472
- "InlineChunkChecksum": {},
473
- "InlineChunkChecksumAlgorithm": {},
474
- "ObjectChecksum": {},
475
- "ObjectChecksumAlgorithm": {}
476
- }
477
- },
478
- "authtype": "v4-unsigned-body"
479
- },
480
- "StartObject": {
481
- "http": {
482
- "method": "PUT",
483
- "requestUri": "/backup-jobs/{jobId}/object/{objectName}"
484
- },
485
- "input": {
486
- "type": "structure",
487
- "required": [
488
- "BackupJobId",
489
- "ObjectName"
490
- ],
491
- "members": {
492
- "BackupJobId": {
493
- "location": "uri",
494
- "locationName": "jobId"
495
- },
496
- "ObjectName": {
497
- "location": "uri",
498
- "locationName": "objectName"
499
- },
500
- "ThrowOnDuplicate": {
501
- "type": "boolean"
502
- }
503
- }
504
- },
505
- "output": {
506
- "type": "structure",
507
- "required": [
508
- "UploadId"
509
- ],
510
- "members": {
511
- "UploadId": {}
512
- }
513
- }
514
- }
515
- },
516
- "shapes": {
517
- "S5": {
518
- "type": "blob",
519
- "streaming": true
520
- }
521
- }
522
- }
@@ -1,14 +0,0 @@
1
- {
2
- "pagination": {
3
- "ListChunks": {
4
- "input_token": "NextToken",
5
- "output_token": "NextToken",
6
- "limit_key": "MaxResults"
7
- },
8
- "ListObjects": {
9
- "input_token": "NextToken",
10
- "output_token": "NextToken",
11
- "limit_key": "MaxResults"
12
- }
13
- }
14
- }