@aws-sdk/client-drs 3.102.0 → 3.105.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.102.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.101.0...v3.102.0) (2022-05-31)
7
18
 
8
19
 
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
6
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
7
7
  const middleware_logger_1 = require("@aws-sdk/middleware-logger");
8
+ const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
8
9
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
9
10
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
11
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
@@ -25,6 +26,7 @@ class DrsClient extends smithy_client_1.Client {
25
26
  this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
26
27
  this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
27
28
  this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
28
30
  this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
29
31
  this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
30
32
  }
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
3
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
5
5
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
6
+ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
6
7
  import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
7
8
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
@@ -25,6 +26,7 @@ var DrsClient = (function (_super) {
25
26
  _this.middlewareStack.use(getContentLengthPlugin(_this.config));
26
27
  _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
27
28
  _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
28
30
  _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
29
31
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
30
32
  return _this;
@@ -54,11 +54,7 @@ export interface ConversionProperties {
54
54
  /**
55
55
  * <p>A mapping between the volumes being converted and the converted snapshot ids</p>
56
56
  */
57
- volumeToConversionMap?: {
58
- [key: string]: {
59
- [key: string]: string;
60
- };
61
- };
57
+ volumeToConversionMap?: Record<string, Record<string, string>>;
62
58
  /**
63
59
  * <p>The root volume name of a conversion job</p>
64
60
  */
@@ -74,9 +70,7 @@ export interface ConversionProperties {
74
70
  /**
75
71
  * <p>A mapping between the volumes and their sizes</p>
76
72
  */
77
- volumeToVolumeSize?: {
78
- [key: string]: number;
79
- };
73
+ volumeToVolumeSize?: Record<string, number>;
80
74
  }
81
75
  export declare namespace ConversionProperties {
82
76
  /**
@@ -111,9 +105,7 @@ export interface CreateExtendedSourceServerRequest {
111
105
  /**
112
106
  * <p>A list of tags associated with the extended source server.</p>
113
107
  */
114
- tags?: {
115
- [key: string]: string;
116
- };
108
+ tags?: Record<string, string>;
117
109
  }
118
110
  export declare namespace CreateExtendedSourceServerRequest {
119
111
  /**
@@ -549,9 +541,7 @@ export interface SourceServer {
549
541
  /**
550
542
  * <p>The tags associated with the Source Server.</p>
551
543
  */
552
- tags?: {
553
- [key: string]: string;
554
- };
544
+ tags?: Record<string, string>;
555
545
  /**
556
546
  * <p>The ID of the Recovery Instance associated with this Source Server.</p>
557
547
  */
@@ -835,9 +825,7 @@ export interface CreateReplicationConfigurationTemplateRequest {
835
825
  /**
836
826
  * <p>A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.</p>
837
827
  */
838
- stagingAreaTags: {
839
- [key: string]: string;
840
- } | undefined;
828
+ stagingAreaTags: Record<string, string> | undefined;
841
829
  /**
842
830
  * <p>The Point in time (PIT) policy to manage snapshots taken during replication.</p>
843
831
  */
@@ -845,9 +833,7 @@ export interface CreateReplicationConfigurationTemplateRequest {
845
833
  /**
846
834
  * <p>A set of tags to be associated with the Replication Configuration Template resource.</p>
847
835
  */
848
- tags?: {
849
- [key: string]: string;
850
- };
836
+ tags?: Record<string, string>;
851
837
  }
852
838
  export declare namespace CreateReplicationConfigurationTemplateRequest {
853
839
  /**
@@ -911,15 +897,11 @@ export interface ReplicationConfigurationTemplate {
911
897
  /**
912
898
  * <p>A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.</p>
913
899
  */
914
- stagingAreaTags?: {
915
- [key: string]: string;
916
- };
900
+ stagingAreaTags?: Record<string, string>;
917
901
  /**
918
902
  * <p>A set of tags to be associated with the Replication Configuration Template resource.</p>
919
903
  */
920
- tags?: {
921
- [key: string]: string;
922
- };
904
+ tags?: Record<string, string>;
923
905
  /**
924
906
  * <p>The Point in time (PIT) policy to manage snapshots taken during replication.</p>
925
907
  */
@@ -1242,9 +1224,7 @@ export interface Job {
1242
1224
  /**
1243
1225
  * <p>A list of tags associated with the Job.</p>
1244
1226
  */
1245
- tags?: {
1246
- [key: string]: string;
1247
- };
1227
+ tags?: Record<string, string>;
1248
1228
  }
1249
1229
  export declare namespace Job {
1250
1230
  /**
@@ -1625,9 +1605,7 @@ export interface RecoveryInstance {
1625
1605
  /**
1626
1606
  * <p>An array of tags that are associated with the Recovery Instance.</p>
1627
1607
  */
1628
- tags?: {
1629
- [key: string]: string;
1630
- };
1608
+ tags?: Record<string, string>;
1631
1609
  /**
1632
1610
  * <p>An object representing failback related information of the Recovery Instance.</p>
1633
1611
  */
@@ -1939,9 +1917,7 @@ export interface StagingSourceServer {
1939
1917
  /**
1940
1918
  * <p>A list of tags associated with the staging source server.</p>
1941
1919
  */
1942
- tags?: {
1943
- [key: string]: string;
1944
- };
1920
+ tags?: Record<string, string>;
1945
1921
  }
1946
1922
  export declare namespace StagingSourceServer {
1947
1923
  /**
@@ -2013,9 +1989,7 @@ export interface ListTagsForResourceResponse {
2013
1989
  /**
2014
1990
  * <p>The tags of the requested resource.</p>
2015
1991
  */
2016
- tags?: {
2017
- [key: string]: string;
2018
- };
1992
+ tags?: Record<string, string>;
2019
1993
  }
2020
1994
  export declare namespace ListTagsForResourceResponse {
2021
1995
  /**
@@ -2067,9 +2041,7 @@ export interface StartFailbackLaunchRequest {
2067
2041
  /**
2068
2042
  * <p>The tags to be associated with the failback launch Job.</p>
2069
2043
  */
2070
- tags?: {
2071
- [key: string]: string;
2072
- };
2044
+ tags?: Record<string, string>;
2073
2045
  }
2074
2046
  export declare namespace StartFailbackLaunchRequest {
2075
2047
  /**
@@ -2205,9 +2177,7 @@ export interface UpdateReplicationConfigurationTemplateRequest {
2205
2177
  /**
2206
2178
  * <p>A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.</p>
2207
2179
  */
2208
- stagingAreaTags?: {
2209
- [key: string]: string;
2210
- };
2180
+ stagingAreaTags?: Record<string, string>;
2211
2181
  /**
2212
2182
  * <p>The Point in time (PIT) policy to manage snapshots taken during replication.</p>
2213
2183
  */
@@ -2406,9 +2376,7 @@ export interface ReplicationConfiguration {
2406
2376
  /**
2407
2377
  * <p>A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.</p>
2408
2378
  */
2409
- stagingAreaTags?: {
2410
- [key: string]: string;
2411
- };
2379
+ stagingAreaTags?: Record<string, string>;
2412
2380
  /**
2413
2381
  * <p>The Point in time (PIT) policy to manage snapshots taken during replication.</p>
2414
2382
  */
@@ -2463,9 +2431,7 @@ export interface StartRecoveryRequest {
2463
2431
  /**
2464
2432
  * <p>The tags to be associated with the Recovery Job.</p>
2465
2433
  */
2466
- tags?: {
2467
- [key: string]: string;
2468
- };
2434
+ tags?: Record<string, string>;
2469
2435
  }
2470
2436
  export declare namespace StartRecoveryRequest {
2471
2437
  /**
@@ -2581,9 +2547,7 @@ export interface UpdateReplicationConfigurationRequest {
2581
2547
  /**
2582
2548
  * <p>A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.</p>
2583
2549
  */
2584
- stagingAreaTags?: {
2585
- [key: string]: string;
2586
- };
2550
+ stagingAreaTags?: Record<string, string>;
2587
2551
  /**
2588
2552
  * <p>The Point in time (PIT) policy to manage snapshots taken during replication.</p>
2589
2553
  */
@@ -2603,9 +2567,7 @@ export interface TagResourceRequest {
2603
2567
  /**
2604
2568
  * <p>Array of tags to be added or updated.</p>
2605
2569
  */
2606
- tags: {
2607
- [key: string]: string;
2608
- } | undefined;
2570
+ tags: Record<string, string> | undefined;
2609
2571
  }
2610
2572
  export declare namespace TagResourceRequest {
2611
2573
  /**
@@ -32,11 +32,7 @@ export declare class ConflictException extends __BaseException {
32
32
 
33
33
  export interface ConversionProperties {
34
34
 
35
- volumeToConversionMap?: {
36
- [key: string]: {
37
- [key: string]: string;
38
- };
39
- };
35
+ volumeToConversionMap?: Record<string, Record<string, string>>;
40
36
 
41
37
  rootVolumeName?: string;
42
38
 
@@ -44,9 +40,7 @@ export interface ConversionProperties {
44
40
 
45
41
  dataTimestamp?: string;
46
42
 
47
- volumeToVolumeSize?: {
48
- [key: string]: number;
49
- };
43
+ volumeToVolumeSize?: Record<string, number>;
50
44
  }
51
45
  export declare namespace ConversionProperties {
52
46
 
@@ -67,9 +61,7 @@ export interface CreateExtendedSourceServerRequest {
67
61
 
68
62
  sourceServerArn: string | undefined;
69
63
 
70
- tags?: {
71
- [key: string]: string;
72
- };
64
+ tags?: Record<string, string>;
73
65
  }
74
66
  export declare namespace CreateExtendedSourceServerRequest {
75
67
 
@@ -340,9 +332,7 @@ export interface SourceServer {
340
332
 
341
333
  arn?: string;
342
334
 
343
- tags?: {
344
- [key: string]: string;
345
- };
335
+ tags?: Record<string, string>;
346
336
 
347
337
  recoveryInstanceId?: string;
348
338
 
@@ -514,15 +504,11 @@ export interface CreateReplicationConfigurationTemplateRequest {
514
504
 
515
505
  createPublicIP: boolean | undefined;
516
506
 
517
- stagingAreaTags: {
518
- [key: string]: string;
519
- } | undefined;
507
+ stagingAreaTags: Record<string, string> | undefined;
520
508
 
521
509
  pitPolicy: PITPolicyRule[] | undefined;
522
510
 
523
- tags?: {
524
- [key: string]: string;
525
- };
511
+ tags?: Record<string, string>;
526
512
  }
527
513
  export declare namespace CreateReplicationConfigurationTemplateRequest {
528
514
 
@@ -556,13 +542,9 @@ export interface ReplicationConfigurationTemplate {
556
542
 
557
543
  createPublicIP?: boolean;
558
544
 
559
- stagingAreaTags?: {
560
- [key: string]: string;
561
- };
545
+ stagingAreaTags?: Record<string, string>;
562
546
 
563
- tags?: {
564
- [key: string]: string;
565
- };
547
+ tags?: Record<string, string>;
566
548
 
567
549
  pitPolicy?: PITPolicyRule[];
568
550
  }
@@ -773,9 +755,7 @@ export interface Job {
773
755
 
774
756
  participatingServers?: ParticipatingServer[];
775
757
 
776
- tags?: {
777
- [key: string]: string;
778
- };
758
+ tags?: Record<string, string>;
779
759
  }
780
760
  export declare namespace Job {
781
761
 
@@ -1012,9 +992,7 @@ export interface RecoveryInstance {
1012
992
 
1013
993
  arn?: string;
1014
994
 
1015
- tags?: {
1016
- [key: string]: string;
1017
- };
995
+ tags?: Record<string, string>;
1018
996
 
1019
997
  failback?: RecoveryInstanceFailback;
1020
998
 
@@ -1202,9 +1180,7 @@ export interface StagingSourceServer {
1202
1180
 
1203
1181
  arn?: string;
1204
1182
 
1205
- tags?: {
1206
- [key: string]: string;
1207
- };
1183
+ tags?: Record<string, string>;
1208
1184
  }
1209
1185
  export declare namespace StagingSourceServer {
1210
1186
 
@@ -1250,9 +1226,7 @@ export declare namespace ListTagsForResourceRequest {
1250
1226
  }
1251
1227
  export interface ListTagsForResourceResponse {
1252
1228
 
1253
- tags?: {
1254
- [key: string]: string;
1255
- };
1229
+ tags?: Record<string, string>;
1256
1230
  }
1257
1231
  export declare namespace ListTagsForResourceResponse {
1258
1232
 
@@ -1284,9 +1258,7 @@ export interface StartFailbackLaunchRequest {
1284
1258
 
1285
1259
  recoveryInstanceIDs: string[] | undefined;
1286
1260
 
1287
- tags?: {
1288
- [key: string]: string;
1289
- };
1261
+ tags?: Record<string, string>;
1290
1262
  }
1291
1263
  export declare namespace StartFailbackLaunchRequest {
1292
1264
 
@@ -1366,9 +1338,7 @@ export interface UpdateReplicationConfigurationTemplateRequest {
1366
1338
 
1367
1339
  createPublicIP?: boolean;
1368
1340
 
1369
- stagingAreaTags?: {
1370
- [key: string]: string;
1371
- };
1341
+ stagingAreaTags?: Record<string, string>;
1372
1342
 
1373
1343
  pitPolicy?: PITPolicyRule[];
1374
1344
  }
@@ -1487,9 +1457,7 @@ export interface ReplicationConfiguration {
1487
1457
 
1488
1458
  createPublicIP?: boolean;
1489
1459
 
1490
- stagingAreaTags?: {
1491
- [key: string]: string;
1492
- };
1460
+ stagingAreaTags?: Record<string, string>;
1493
1461
 
1494
1462
  pitPolicy?: PITPolicyRule[];
1495
1463
  }
@@ -1522,9 +1490,7 @@ export interface StartRecoveryRequest {
1522
1490
 
1523
1491
  isDrill?: boolean;
1524
1492
 
1525
- tags?: {
1526
- [key: string]: string;
1527
- };
1493
+ tags?: Record<string, string>;
1528
1494
  }
1529
1495
  export declare namespace StartRecoveryRequest {
1530
1496
 
@@ -1588,9 +1554,7 @@ export interface UpdateReplicationConfigurationRequest {
1588
1554
 
1589
1555
  createPublicIP?: boolean;
1590
1556
 
1591
- stagingAreaTags?: {
1592
- [key: string]: string;
1593
- };
1557
+ stagingAreaTags?: Record<string, string>;
1594
1558
 
1595
1559
  pitPolicy?: PITPolicyRule[];
1596
1560
  }
@@ -1602,9 +1566,7 @@ export interface TagResourceRequest {
1602
1566
 
1603
1567
  resourceArn: string | undefined;
1604
1568
 
1605
- tags: {
1606
- [key: string]: string;
1607
- } | undefined;
1569
+ tags: Record<string, string> | undefined;
1608
1570
  }
1609
1571
  export declare namespace TagResourceRequest {
1610
1572
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-drs",
3
3
  "description": "AWS SDK for JavaScript Drs Client for Node.js, Browser and React Native",
4
- "version": "3.102.0",
4
+ "version": "3.105.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,15 +18,16 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.100.0",
21
+ "@aws-sdk/client-sts": "3.105.0",
22
22
  "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.100.0",
23
+ "@aws-sdk/credential-provider-node": "3.105.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.78.0",
25
25
  "@aws-sdk/hash-node": "3.78.0",
26
26
  "@aws-sdk/invalid-dependency": "3.78.0",
27
27
  "@aws-sdk/middleware-content-length": "3.78.0",
28
28
  "@aws-sdk/middleware-host-header": "3.78.0",
29
29
  "@aws-sdk/middleware-logger": "3.78.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.105.0",
30
31
  "@aws-sdk/middleware-retry": "3.80.0",
31
32
  "@aws-sdk/middleware-serde": "3.78.0",
32
33
  "@aws-sdk/middleware-signing": "3.78.0",