@aws-sdk/client-resiliencehub 3.100.0 → 3.110.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,33 @@
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.110.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.109.0...v3.110.0) (2022-06-14)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-resiliencehub
9
+
10
+
11
+
12
+
13
+
14
+ # [3.109.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.108.1...v3.109.0) (2022-06-13)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-resiliencehub
17
+
18
+
19
+
20
+
21
+
22
+ # [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
23
+
24
+
25
+ ### Features
26
+
27
+ * **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))
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-resiliencehub
@@ -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 ResiliencehubClient 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 ResiliencehubClient = (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;
@@ -402,9 +402,7 @@ export interface App {
402
402
  * <p>The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource.
403
403
  * Each tag consists of a key/value pair.</p>
404
404
  */
405
- tags?: {
406
- [key: string]: string;
407
- };
405
+ tags?: Record<string, string>;
408
406
  /**
409
407
  * <p>
410
408
  * Assessment execution schedule with 'Daily' or 'Disabled' values.
@@ -592,9 +590,7 @@ export interface ResiliencyPolicy {
592
590
  /**
593
591
  * <p>The resiliency policy.</p>
594
592
  */
595
- policy?: {
596
- [key: string]: FailurePolicy;
597
- };
593
+ policy?: Record<string, FailurePolicy>;
598
594
  /**
599
595
  * <p>The timestamp for when the resiliency policy was created.</p>
600
596
  */
@@ -603,9 +599,7 @@ export interface ResiliencyPolicy {
603
599
  * <p>The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource.
604
600
  * Each tag consists of a key/value pair.</p>
605
601
  */
606
- tags?: {
607
- [key: string]: string;
608
- };
602
+ tags?: Record<string, string>;
609
603
  }
610
604
  export declare namespace ResiliencyPolicy {
611
605
  /**
@@ -625,9 +619,7 @@ export interface ResiliencyScore {
625
619
  /**
626
620
  * <p>The disruption score for a valid key.</p>
627
621
  */
628
- disruptionScore: {
629
- [key: string]: number;
630
- } | undefined;
622
+ disruptionScore: Record<string, number> | undefined;
631
623
  }
632
624
  export declare namespace ResiliencyScore {
633
625
  /**
@@ -722,9 +714,7 @@ export interface AppAssessment {
722
714
  /**
723
715
  * <p>The application compliance against the resiliency policy.</p>
724
716
  */
725
- compliance?: {
726
- [key: string]: DisruptionCompliance;
727
- };
717
+ compliance?: Record<string, DisruptionCompliance>;
728
718
  /**
729
719
  * <p>The current status of the compliance for the resiliency policy.</p>
730
720
  */
@@ -765,9 +755,7 @@ export interface AppAssessment {
765
755
  * <p>The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource.
766
756
  * Each tag consists of a key/value pair.</p>
767
757
  */
768
- tags?: {
769
- [key: string]: string;
770
- };
758
+ tags?: Record<string, string>;
771
759
  /**
772
760
  * <p>
773
761
  * A resource error object containing a list of errors retrieving an application's resources.
@@ -882,9 +870,7 @@ export interface AppComponentCompliance {
882
870
  /**
883
871
  * <p>The compliance of the application component against the resiliency policy.</p>
884
872
  */
885
- compliance?: {
886
- [key: string]: DisruptionCompliance;
887
- };
873
+ compliance?: Record<string, DisruptionCompliance>;
888
874
  /**
889
875
  * <p>The compliance message.</p>
890
876
  */
@@ -985,9 +971,7 @@ export interface CreateAppRequest {
985
971
  * <p>The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource.
986
972
  * Each tag consists of a key/value pair.</p>
987
973
  */
988
- tags?: {
989
- [key: string]: string;
990
- };
974
+ tags?: Record<string, string>;
991
975
  /**
992
976
  * <p>Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters.
993
977
  * You should not reuse the same client token for other API requests.</p>
@@ -1098,9 +1082,7 @@ export interface CreateRecommendationTemplateRequest {
1098
1082
  * <p>The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource.
1099
1083
  * Each tag consists of a key/value pair.</p>
1100
1084
  */
1101
- tags?: {
1102
- [key: string]: string;
1103
- };
1085
+ tags?: Record<string, string>;
1104
1086
  /**
1105
1087
  * <p>The name of the Amazon S3 bucket that will contain the recommendation template.</p>
1106
1088
  */
@@ -1225,9 +1207,7 @@ export interface RecommendationTemplate {
1225
1207
  * <p>The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource.
1226
1208
  * Each tag consists of a key/value pair.</p>
1227
1209
  */
1228
- tags?: {
1229
- [key: string]: string;
1230
- };
1210
+ tags?: Record<string, string>;
1231
1211
  /**
1232
1212
  * <p>Indicates if replacements are needed.</p>
1233
1213
  */
@@ -1275,9 +1255,7 @@ export interface CreateResiliencyPolicyRequest {
1275
1255
  * <p>The type of resiliency policy to be created, including the recovery time objective (RTO)
1276
1256
  * and recovery point objective (RPO) in seconds.</p>
1277
1257
  */
1278
- policy: {
1279
- [key: string]: FailurePolicy;
1280
- } | undefined;
1258
+ policy: Record<string, FailurePolicy> | undefined;
1281
1259
  /**
1282
1260
  * <p>Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters.
1283
1261
  * You should not reuse the same client token for other API requests.</p>
@@ -1287,9 +1265,7 @@ export interface CreateResiliencyPolicyRequest {
1287
1265
  * <p>The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource.
1288
1266
  * Each tag consists of a key/value pair.</p>
1289
1267
  */
1290
- tags?: {
1291
- [key: string]: string;
1292
- };
1268
+ tags?: Record<string, string>;
1293
1269
  }
1294
1270
  export declare namespace CreateResiliencyPolicyRequest {
1295
1271
  /**
@@ -2029,16 +2005,12 @@ export interface ConfigRecommendation {
2029
2005
  * <p>The current compliance against the resiliency policy before applying the configuration
2030
2006
  * change.</p>
2031
2007
  */
2032
- compliance?: {
2033
- [key: string]: DisruptionCompliance;
2034
- };
2008
+ compliance?: Record<string, DisruptionCompliance>;
2035
2009
  /**
2036
2010
  * <p>The expected compliance against the resiliency policy after applying the configuration
2037
2011
  * change.</p>
2038
2012
  */
2039
- recommendationCompliance?: {
2040
- [key: string]: RecommendationDisruptionCompliance;
2041
- };
2013
+ recommendationCompliance?: Record<string, RecommendationDisruptionCompliance>;
2042
2014
  /**
2043
2015
  * <p>The type of optimization.</p>
2044
2016
  */
@@ -2602,9 +2574,7 @@ export interface ListTagsForResourceResponse {
2602
2574
  * <p>The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource.
2603
2575
  * Each tag consists of a key/value pair.</p>
2604
2576
  */
2605
- tags?: {
2606
- [key: string]: string;
2607
- };
2577
+ tags?: Record<string, string>;
2608
2578
  }
2609
2579
  export declare namespace ListTagsForResourceResponse {
2610
2580
  /**
@@ -3005,9 +2975,7 @@ export interface StartAppAssessmentRequest {
3005
2975
  * <p>The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource.
3006
2976
  * Each tag consists of a key/value pair.</p>
3007
2977
  */
3008
- tags?: {
3009
- [key: string]: string;
3010
- };
2978
+ tags?: Record<string, string>;
3011
2979
  }
3012
2980
  export declare namespace StartAppAssessmentRequest {
3013
2981
  /**
@@ -3035,9 +3003,7 @@ export interface TagResourceRequest {
3035
3003
  /**
3036
3004
  * <p>The tags to assign to the resource. Each tag consists of a key/value pair.</p>
3037
3005
  */
3038
- tags: {
3039
- [key: string]: string;
3040
- } | undefined;
3006
+ tags: Record<string, string> | undefined;
3041
3007
  }
3042
3008
  export declare namespace TagResourceRequest {
3043
3009
  /**
@@ -3159,9 +3125,7 @@ export interface UpdateResiliencyPolicyRequest {
3159
3125
  * <p>The type of resiliency policy to be created, including the recovery time objective (RTO)
3160
3126
  * and recovery point objective (RPO) in seconds.</p>
3161
3127
  */
3162
- policy?: {
3163
- [key: string]: FailurePolicy;
3164
- };
3128
+ policy?: Record<string, FailurePolicy>;
3165
3129
  }
3166
3130
  export declare namespace UpdateResiliencyPolicyRequest {
3167
3131
  /**
@@ -203,9 +203,7 @@ export interface App {
203
203
 
204
204
  lastResiliencyScoreEvaluationTime?: Date;
205
205
 
206
- tags?: {
207
- [key: string]: string;
208
- };
206
+ tags?: Record<string, string>;
209
207
 
210
208
  assessmentSchedule?: AppAssessmentScheduleType | string;
211
209
  }
@@ -323,15 +321,11 @@ export interface ResiliencyPolicy {
323
321
 
324
322
  estimatedCostTier?: EstimatedCostTier | string;
325
323
 
326
- policy?: {
327
- [key: string]: FailurePolicy;
328
- };
324
+ policy?: Record<string, FailurePolicy>;
329
325
 
330
326
  creationTime?: Date;
331
327
 
332
- tags?: {
333
- [key: string]: string;
334
- };
328
+ tags?: Record<string, string>;
335
329
  }
336
330
  export declare namespace ResiliencyPolicy {
337
331
 
@@ -342,9 +336,7 @@ export interface ResiliencyScore {
342
336
 
343
337
  score: number | undefined;
344
338
 
345
- disruptionScore: {
346
- [key: string]: number;
347
- } | undefined;
339
+ disruptionScore: Record<string, number> | undefined;
348
340
  }
349
341
  export declare namespace ResiliencyScore {
350
342
 
@@ -387,9 +379,7 @@ export interface AppAssessment {
387
379
 
388
380
  resiliencyScore?: ResiliencyScore;
389
381
 
390
- compliance?: {
391
- [key: string]: DisruptionCompliance;
392
- };
382
+ compliance?: Record<string, DisruptionCompliance>;
393
383
 
394
384
  complianceStatus?: ComplianceStatus | string;
395
385
 
@@ -407,9 +397,7 @@ export interface AppAssessment {
407
397
 
408
398
  policy?: ResiliencyPolicy;
409
399
 
410
- tags?: {
411
- [key: string]: string;
412
- };
400
+ tags?: Record<string, string>;
413
401
 
414
402
  resourceErrorsDetails?: ResourceErrorsDetails;
415
403
  }
@@ -466,9 +454,7 @@ export interface AppComponentCompliance {
466
454
 
467
455
  appComponentName?: string;
468
456
 
469
- compliance?: {
470
- [key: string]: DisruptionCompliance;
471
- };
457
+ compliance?: Record<string, DisruptionCompliance>;
472
458
 
473
459
  message?: string;
474
460
 
@@ -518,9 +504,7 @@ export interface CreateAppRequest {
518
504
 
519
505
  policyArn?: string;
520
506
 
521
- tags?: {
522
- [key: string]: string;
523
- };
507
+ tags?: Record<string, string>;
524
508
 
525
509
  clientToken?: string;
526
510
 
@@ -568,9 +552,7 @@ export interface CreateRecommendationTemplateRequest {
568
552
 
569
553
  clientToken?: string;
570
554
 
571
- tags?: {
572
- [key: string]: string;
573
- };
555
+ tags?: Record<string, string>;
574
556
 
575
557
  bucketName?: string;
576
558
  }
@@ -622,9 +604,7 @@ export interface RecommendationTemplate {
622
604
 
623
605
  endTime?: Date;
624
606
 
625
- tags?: {
626
- [key: string]: string;
627
- };
607
+ tags?: Record<string, string>;
628
608
 
629
609
  needsReplacements?: boolean;
630
610
  }
@@ -650,15 +630,11 @@ export interface CreateResiliencyPolicyRequest {
650
630
 
651
631
  tier: ResiliencyPolicyTier | string | undefined;
652
632
 
653
- policy: {
654
- [key: string]: FailurePolicy;
655
- } | undefined;
633
+ policy: Record<string, FailurePolicy> | undefined;
656
634
 
657
635
  clientToken?: string;
658
636
 
659
- tags?: {
660
- [key: string]: string;
661
- };
637
+ tags?: Record<string, string>;
662
638
  }
663
639
  export declare namespace CreateResiliencyPolicyRequest {
664
640
 
@@ -1047,13 +1023,9 @@ export interface ConfigRecommendation {
1047
1023
 
1048
1024
  appComponentName?: string;
1049
1025
 
1050
- compliance?: {
1051
- [key: string]: DisruptionCompliance;
1052
- };
1026
+ compliance?: Record<string, DisruptionCompliance>;
1053
1027
 
1054
- recommendationCompliance?: {
1055
- [key: string]: RecommendationDisruptionCompliance;
1056
- };
1028
+ recommendationCompliance?: Record<string, RecommendationDisruptionCompliance>;
1057
1029
 
1058
1030
  optimizationType: ConfigRecommendationOptimizationType | string | undefined;
1059
1031
 
@@ -1359,9 +1331,7 @@ export declare namespace ListTagsForResourceRequest {
1359
1331
  }
1360
1332
  export interface ListTagsForResourceResponse {
1361
1333
 
1362
- tags?: {
1363
- [key: string]: string;
1364
- };
1334
+ tags?: Record<string, string>;
1365
1335
  }
1366
1336
  export declare namespace ListTagsForResourceResponse {
1367
1337
 
@@ -1570,9 +1540,7 @@ export interface StartAppAssessmentRequest {
1570
1540
 
1571
1541
  clientToken?: string;
1572
1542
 
1573
- tags?: {
1574
- [key: string]: string;
1575
- };
1543
+ tags?: Record<string, string>;
1576
1544
  }
1577
1545
  export declare namespace StartAppAssessmentRequest {
1578
1546
 
@@ -1590,9 +1558,7 @@ export interface TagResourceRequest {
1590
1558
 
1591
1559
  resourceArn: string | undefined;
1592
1560
 
1593
- tags: {
1594
- [key: string]: string;
1595
- } | undefined;
1561
+ tags: Record<string, string> | undefined;
1596
1562
  }
1597
1563
  export declare namespace TagResourceRequest {
1598
1564
 
@@ -1656,9 +1622,7 @@ export interface UpdateResiliencyPolicyRequest {
1656
1622
 
1657
1623
  tier?: ResiliencyPolicyTier | string;
1658
1624
 
1659
- policy?: {
1660
- [key: string]: FailurePolicy;
1661
- };
1625
+ policy?: Record<string, FailurePolicy>;
1662
1626
  }
1663
1627
  export declare namespace UpdateResiliencyPolicyRequest {
1664
1628
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-resiliencehub",
3
3
  "description": "AWS SDK for JavaScript Resiliencehub Client for Node.js, Browser and React Native",
4
- "version": "3.100.0",
4
+ "version": "3.110.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,36 +18,37 @@
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",
22
- "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.100.0",
24
- "@aws-sdk/fetch-http-handler": "3.78.0",
25
- "@aws-sdk/hash-node": "3.78.0",
26
- "@aws-sdk/invalid-dependency": "3.78.0",
27
- "@aws-sdk/middleware-content-length": "3.78.0",
28
- "@aws-sdk/middleware-host-header": "3.78.0",
29
- "@aws-sdk/middleware-logger": "3.78.0",
30
- "@aws-sdk/middleware-retry": "3.80.0",
31
- "@aws-sdk/middleware-serde": "3.78.0",
32
- "@aws-sdk/middleware-signing": "3.78.0",
33
- "@aws-sdk/middleware-stack": "3.78.0",
34
- "@aws-sdk/middleware-user-agent": "3.78.0",
35
- "@aws-sdk/node-config-provider": "3.80.0",
36
- "@aws-sdk/node-http-handler": "3.94.0",
37
- "@aws-sdk/protocol-http": "3.78.0",
38
- "@aws-sdk/smithy-client": "3.99.0",
39
- "@aws-sdk/types": "3.78.0",
40
- "@aws-sdk/url-parser": "3.78.0",
41
- "@aws-sdk/util-base64-browser": "3.58.0",
21
+ "@aws-sdk/client-sts": "3.110.0",
22
+ "@aws-sdk/config-resolver": "3.110.0",
23
+ "@aws-sdk/credential-provider-node": "3.110.0",
24
+ "@aws-sdk/fetch-http-handler": "3.110.0",
25
+ "@aws-sdk/hash-node": "3.110.0",
26
+ "@aws-sdk/invalid-dependency": "3.110.0",
27
+ "@aws-sdk/middleware-content-length": "3.110.0",
28
+ "@aws-sdk/middleware-host-header": "3.110.0",
29
+ "@aws-sdk/middleware-logger": "3.110.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.110.0",
31
+ "@aws-sdk/middleware-retry": "3.110.0",
32
+ "@aws-sdk/middleware-serde": "3.110.0",
33
+ "@aws-sdk/middleware-signing": "3.110.0",
34
+ "@aws-sdk/middleware-stack": "3.110.0",
35
+ "@aws-sdk/middleware-user-agent": "3.110.0",
36
+ "@aws-sdk/node-config-provider": "3.110.0",
37
+ "@aws-sdk/node-http-handler": "3.110.0",
38
+ "@aws-sdk/protocol-http": "3.110.0",
39
+ "@aws-sdk/smithy-client": "3.110.0",
40
+ "@aws-sdk/types": "3.110.0",
41
+ "@aws-sdk/url-parser": "3.110.0",
42
+ "@aws-sdk/util-base64-browser": "3.109.0",
42
43
  "@aws-sdk/util-base64-node": "3.55.0",
43
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
44
45
  "@aws-sdk/util-body-length-node": "3.55.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.99.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.99.0",
47
- "@aws-sdk/util-user-agent-browser": "3.78.0",
48
- "@aws-sdk/util-user-agent-node": "3.80.0",
49
- "@aws-sdk/util-utf8-browser": "3.55.0",
50
- "@aws-sdk/util-utf8-node": "3.55.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.110.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.110.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.110.0",
49
+ "@aws-sdk/util-user-agent-node": "3.110.0",
50
+ "@aws-sdk/util-utf8-browser": "3.109.0",
51
+ "@aws-sdk/util-utf8-node": "3.109.0",
51
52
  "tslib": "^2.3.1",
52
53
  "uuid": "^8.3.2"
53
54
  },