@aws-sdk/client-resiliencehub 3.445.0 → 3.449.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateResiliencyPolicyRequestFilterSensitiveLog = exports.CreateRecommendationTemplateResponseFilterSensitiveLog = exports.RecommendationTemplateFilterSensitiveLog = exports.CreateRecommendationTemplateRequestFilterSensitiveLog = exports.CreateAppResponseFilterSensitiveLog = exports.CreateAppRequestFilterSensitiveLog = exports.AppAssessmentFilterSensitiveLog = exports.ResiliencyPolicyFilterSensitiveLog = exports.AppFilterSensitiveLog = exports.TestType = exports.TestRisk = exports.SopServiceType = exports.RecommendationComplianceStatus = exports.ConfigRecommendationOptimizationType = exports.HaArchitecture = exports.DriftType = exports.DifferenceType = exports.ResourceImportStrategyType = exports.ResourceImportStatusType = exports.ResourceResolutionStatusType = exports.RecommendationTemplateStatus = exports.RenderRecommendationType = exports.TemplateFormat = exports.ResourceSourceType = exports.ServiceQuotaExceededException = exports.ResiliencyPolicyTier = exports.EstimatedCostTier = exports.DataLocationConstraint = exports.AssessmentInvoker = exports.DriftStatus = exports.CostFrequency = exports.ComplianceStatus = exports.DisruptionType = exports.AssessmentStatus = exports.AppStatusType = exports.PermissionModelType = exports.EventType = exports.AppDriftStatusType = exports.AppComplianceStatusType = exports.AppAssessmentScheduleType = exports.AlarmType = exports.ExcludeRecommendationReason = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.PhysicalIdentifierType = exports.ResourceMappingType = exports.AccessDeniedException = void 0;
4
- exports.UpdateResiliencyPolicyResponseFilterSensitiveLog = exports.UpdateAppResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.StartAppAssessmentResponseFilterSensitiveLog = exports.StartAppAssessmentRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListSuggestedResiliencyPoliciesResponseFilterSensitiveLog = exports.ListResiliencyPoliciesResponseFilterSensitiveLog = exports.ListRecommendationTemplatesResponseFilterSensitiveLog = exports.DescribeResiliencyPolicyResponseFilterSensitiveLog = exports.DescribeAppAssessmentResponseFilterSensitiveLog = exports.DescribeAppResponseFilterSensitiveLog = exports.CreateResiliencyPolicyResponseFilterSensitiveLog = void 0;
3
+ exports.RecommendationTemplateFilterSensitiveLog = exports.CreateRecommendationTemplateRequestFilterSensitiveLog = exports.CreateAppResponseFilterSensitiveLog = exports.CreateAppRequestFilterSensitiveLog = exports.AppAssessmentFilterSensitiveLog = exports.ResiliencyPolicyFilterSensitiveLog = exports.AppFilterSensitiveLog = exports.TestType = exports.TestRisk = exports.SopServiceType = exports.RecommendationComplianceStatus = exports.ConfigRecommendationOptimizationType = exports.HaArchitecture = exports.DriftType = exports.DifferenceType = exports.ResourceImportStrategyType = exports.ResourceImportStatusType = exports.ResourceResolutionStatusType = exports.RecommendationTemplateStatus = exports.RenderRecommendationType = exports.TemplateFormat = exports.ResourceSourceType = exports.ServiceQuotaExceededException = exports.ResiliencyScoreType = exports.ResiliencyPolicyTier = exports.EstimatedCostTier = exports.DataLocationConstraint = exports.AssessmentInvoker = exports.DriftStatus = exports.CostFrequency = exports.ComplianceStatus = exports.DisruptionType = exports.AssessmentStatus = exports.AppStatusType = exports.PermissionModelType = exports.EventType = exports.AppDriftStatusType = exports.AppComplianceStatusType = exports.AppAssessmentScheduleType = exports.AlarmType = exports.RecommendationStatus = exports.ExcludeRecommendationReason = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.PhysicalIdentifierType = exports.ResourceMappingType = exports.AccessDeniedException = void 0;
4
+ exports.UpdateResiliencyPolicyResponseFilterSensitiveLog = exports.UpdateAppResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.StartAppAssessmentResponseFilterSensitiveLog = exports.StartAppAssessmentRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListSuggestedResiliencyPoliciesResponseFilterSensitiveLog = exports.ListResiliencyPoliciesResponseFilterSensitiveLog = exports.ListRecommendationTemplatesResponseFilterSensitiveLog = exports.DescribeResiliencyPolicyResponseFilterSensitiveLog = exports.DescribeAppAssessmentResponseFilterSensitiveLog = exports.DescribeAppResponseFilterSensitiveLog = exports.CreateResiliencyPolicyResponseFilterSensitiveLog = exports.CreateResiliencyPolicyRequestFilterSensitiveLog = exports.CreateRecommendationTemplateResponseFilterSensitiveLog = void 0;
5
5
  const smithy_client_1 = require("@smithy/smithy-client");
6
6
  const ResiliencehubServiceException_1 = require("./ResiliencehubServiceException");
7
7
  class AccessDeniedException extends ResiliencehubServiceException_1.ResiliencehubServiceException {
@@ -104,6 +104,12 @@ exports.ExcludeRecommendationReason = {
104
104
  COMPLEXITY_OF_IMPLEMENTATION: "ComplexityOfImplementation",
105
105
  NOT_RELEVANT: "NotRelevant",
106
106
  };
107
+ exports.RecommendationStatus = {
108
+ EXCLUDED: "Excluded",
109
+ IMPLEMENTED: "Implemented",
110
+ INACTIVE: "Inactive",
111
+ NOT_IMPLEMENTED: "NotImplemented",
112
+ };
107
113
  exports.AlarmType = {
108
114
  CANARY: "Canary",
109
115
  COMPOSITE: "Composite",
@@ -188,6 +194,12 @@ exports.ResiliencyPolicyTier = {
188
194
  NON_CRITICAL: "NonCritical",
189
195
  NOT_APPLICABLE: "NotApplicable",
190
196
  };
197
+ exports.ResiliencyScoreType = {
198
+ ALARM: "Alarm",
199
+ COMPLIANCE: "Compliance",
200
+ SOP: "Sop",
201
+ TEST: "Test",
202
+ };
191
203
  class ServiceQuotaExceededException extends ResiliencehubServiceException_1.ResiliencehubServiceException {
192
204
  constructor(opts) {
193
205
  super({
@@ -4281,10 +4281,28 @@ const de_ResiliencyPolicy = (output, context) => {
4281
4281
  };
4282
4282
  const de_ResiliencyScore = (output, context) => {
4283
4283
  return (0, smithy_client_1.take)(output, {
4284
+ componentScore: (_) => de_ScoringComponentResiliencyScores(_, context),
4284
4285
  disruptionScore: (_) => de_DisruptionResiliencyScore(_, context),
4285
4286
  score: smithy_client_1.limitedParseDouble,
4286
4287
  });
4287
4288
  };
4289
+ const de_ScoringComponentResiliencyScore = (output, context) => {
4290
+ return (0, smithy_client_1.take)(output, {
4291
+ excludedCount: smithy_client_1.expectLong,
4292
+ outstandingCount: smithy_client_1.expectLong,
4293
+ possibleScore: smithy_client_1.limitedParseDouble,
4294
+ score: smithy_client_1.limitedParseDouble,
4295
+ });
4296
+ };
4297
+ const de_ScoringComponentResiliencyScores = (output, context) => {
4298
+ return Object.entries(output).reduce((acc, [key, value]) => {
4299
+ if (value === null) {
4300
+ return acc;
4301
+ }
4302
+ acc[key] = de_ScoringComponentResiliencyScore(value, context);
4303
+ return acc;
4304
+ }, {});
4305
+ };
4288
4306
  const deserializeMetadata = (output) => ({
4289
4307
  httpStatusCode: output.statusCode,
4290
4308
  requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
@@ -94,6 +94,12 @@ export const ExcludeRecommendationReason = {
94
94
  COMPLEXITY_OF_IMPLEMENTATION: "ComplexityOfImplementation",
95
95
  NOT_RELEVANT: "NotRelevant",
96
96
  };
97
+ export const RecommendationStatus = {
98
+ EXCLUDED: "Excluded",
99
+ IMPLEMENTED: "Implemented",
100
+ INACTIVE: "Inactive",
101
+ NOT_IMPLEMENTED: "NotImplemented",
102
+ };
97
103
  export const AlarmType = {
98
104
  CANARY: "Canary",
99
105
  COMPOSITE: "Composite",
@@ -178,6 +184,12 @@ export const ResiliencyPolicyTier = {
178
184
  NON_CRITICAL: "NonCritical",
179
185
  NOT_APPLICABLE: "NotApplicable",
180
186
  };
187
+ export const ResiliencyScoreType = {
188
+ ALARM: "Alarm",
189
+ COMPLIANCE: "Compliance",
190
+ SOP: "Sop",
191
+ TEST: "Test",
192
+ };
181
193
  export class ServiceQuotaExceededException extends __BaseException {
182
194
  constructor(opts) {
183
195
  super({
@@ -4168,10 +4168,28 @@ const de_ResiliencyPolicy = (output, context) => {
4168
4168
  };
4169
4169
  const de_ResiliencyScore = (output, context) => {
4170
4170
  return take(output, {
4171
+ componentScore: (_) => de_ScoringComponentResiliencyScores(_, context),
4171
4172
  disruptionScore: (_) => de_DisruptionResiliencyScore(_, context),
4172
4173
  score: __limitedParseDouble,
4173
4174
  });
4174
4175
  };
4176
+ const de_ScoringComponentResiliencyScore = (output, context) => {
4177
+ return take(output, {
4178
+ excludedCount: __expectLong,
4179
+ outstandingCount: __expectLong,
4180
+ possibleScore: __limitedParseDouble,
4181
+ score: __limitedParseDouble,
4182
+ });
4183
+ };
4184
+ const de_ScoringComponentResiliencyScores = (output, context) => {
4185
+ return Object.entries(output).reduce((acc, [key, value]) => {
4186
+ if (value === null) {
4187
+ return acc;
4188
+ }
4189
+ acc[key] = de_ScoringComponentResiliencyScore(value, context);
4190
+ return acc;
4191
+ }, {});
4192
+ };
4175
4193
  const deserializeMetadata = (output) => ({
4176
4194
  httpStatusCode: output.statusCode,
4177
4195
  requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
@@ -24,9 +24,10 @@ export interface CreateAppCommandOutput extends CreateAppResponse, __MetadataBea
24
24
  /**
25
25
  * @public
26
26
  * <p>Creates an Resilience Hub application. An Resilience Hub application is a
27
- * collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a Resilience Hub application,
28
- * you provide an application name, resources from one or more CloudFormation stacks, Resource Groups, Terraform state files, AppRegistry applications, and an appropriate
29
- * resiliency policy. In addition, you can also add resources that are located on Amazon Elastic Kubernetes Service (Amazon EKS) clusters as optional resources. For more information about the number of resources supported per application, see <a href="https://docs.aws.amazon.com/general/latest/gr/resiliencehub.html#limits_resiliencehub">Service
27
+ * collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a Resilience Hub application, you provide an
28
+ * application name, resources from one or more CloudFormation stacks, Resource Groups, Terraform state files, AppRegistry applications, and an appropriate
29
+ * resiliency policy. In addition, you can also add resources that are located on Amazon Elastic Kubernetes Service (Amazon EKS) clusters as optional resources. For more information
30
+ * about the number of resources supported per application, see <a href="https://docs.aws.amazon.com/general/latest/gr/resiliencehub.html#limits_resiliencehub">Service
30
31
  * quotas</a>.</p>
31
32
  * <p>After you create an Resilience Hub application, you publish it so that you can run a resiliency
32
33
  * assessment on it. You can then use recommendations from the assessment to improve resiliency
@@ -50,6 +50,14 @@ export interface DescribeAppAssessmentCommandOutput extends DescribeAppAssessmen
50
50
  * // disruptionScore: { // DisruptionResiliencyScore // required
51
51
  * // "<keys>": Number("double"),
52
52
  * // },
53
+ * // componentScore: { // ScoringComponentResiliencyScores
54
+ * // "<keys>": { // ScoringComponentResiliencyScore
55
+ * // score: Number("double"),
56
+ * // possibleScore: Number("double"),
57
+ * // outstandingCount: Number("long"),
58
+ * // excludedCount: Number("long"),
59
+ * // },
60
+ * // },
53
61
  * // },
54
62
  * // compliance: { // AssessmentCompliance
55
63
  * // "<keys>": { // DisruptionCompliance
@@ -60,6 +60,7 @@ export interface ListAlarmRecommendationsCommandOutput extends ListAlarmRecommen
60
60
  * // appComponentNames: [ // AppComponentNameList
61
61
  * // "STRING_VALUE",
62
62
  * // ],
63
+ * // recommendationStatus: "STRING_VALUE",
63
64
  * // },
64
65
  * // ],
65
66
  * // nextToken: "STRING_VALUE",
@@ -67,6 +67,14 @@ export interface ListAppComponentCompliancesCommandOutput extends ListAppCompone
67
67
  * // disruptionScore: { // DisruptionResiliencyScore // required
68
68
  * // "<keys>": Number("double"),
69
69
  * // },
70
+ * // componentScore: { // ScoringComponentResiliencyScores
71
+ * // "<keys>": { // ScoringComponentResiliencyScore
72
+ * // score: Number("double"),
73
+ * // possibleScore: Number("double"),
74
+ * // outstandingCount: Number("long"),
75
+ * // excludedCount: Number("long"),
76
+ * // },
77
+ * // },
70
78
  * // },
71
79
  * // },
72
80
  * // ],
@@ -59,6 +59,7 @@ export interface ListSopRecommendationsCommandOutput extends ListSopRecommendati
59
59
  * // ],
60
60
  * // referenceId: "STRING_VALUE", // required
61
61
  * // prerequisite: "STRING_VALUE",
62
+ * // recommendationStatus: "STRING_VALUE",
62
63
  * // },
63
64
  * // ],
64
65
  * // };
@@ -63,6 +63,7 @@ export interface ListTestRecommendationsCommandOutput extends ListTestRecommenda
63
63
  * // dependsOnAlarms: [ // AlarmReferenceIdList
64
64
  * // "STRING_VALUE",
65
65
  * // ],
66
+ * // recommendationStatus: "STRING_VALUE",
66
67
  * // },
67
68
  * // ],
68
69
  * // };
@@ -56,6 +56,14 @@ export interface StartAppAssessmentCommandOutput extends StartAppAssessmentRespo
56
56
  * // disruptionScore: { // DisruptionResiliencyScore // required
57
57
  * // "<keys>": Number("double"),
58
58
  * // },
59
+ * // componentScore: { // ScoringComponentResiliencyScores
60
+ * // "<keys>": { // ScoringComponentResiliencyScore
61
+ * // score: Number("double"),
62
+ * // possibleScore: Number("double"),
63
+ * // outstandingCount: Number("long"),
64
+ * // excludedCount: Number("long"),
65
+ * // },
66
+ * // },
59
67
  * // },
60
68
  * // compliance: { // AssessmentCompliance
61
69
  * // "<keys>": { // DisruptionCompliance
@@ -472,6 +472,20 @@ export interface RecommendationItem {
472
472
  */
473
473
  excludeReason?: ExcludeRecommendationReason;
474
474
  }
475
+ /**
476
+ * @public
477
+ * @enum
478
+ */
479
+ export declare const RecommendationStatus: {
480
+ readonly EXCLUDED: "Excluded";
481
+ readonly IMPLEMENTED: "Implemented";
482
+ readonly INACTIVE: "Inactive";
483
+ readonly NOT_IMPLEMENTED: "NotImplemented";
484
+ };
485
+ /**
486
+ * @public
487
+ */
488
+ export type RecommendationStatus = (typeof RecommendationStatus)[keyof typeof RecommendationStatus];
475
489
  /**
476
490
  * @public
477
491
  * @enum
@@ -544,6 +558,11 @@ export interface AlarmRecommendation {
544
558
  * <p>List of Application Component names for the CloudWatch alarm recommendation.</p>
545
559
  */
546
560
  appComponentNames?: string[];
561
+ /**
562
+ * @public
563
+ * <p>Status of the recommended Amazon CloudWatch alarm.</p>
564
+ */
565
+ recommendationStatus?: RecommendationStatus;
547
566
  }
548
567
  /**
549
568
  * @public
@@ -660,8 +679,14 @@ export interface PermissionModel {
660
679
  * Resilience Hub Service Principle to obtain a read-only access to your application
661
680
  * resources while running an assessment.</p>
662
681
  * <note>
663
- * <p>You must have <code>iam:passRole</code> permission for this role while creating or
664
- * updating the application.</p>
682
+ * <ul>
683
+ * <li>
684
+ * <p>You must have <code>iam:passRole</code> permission for this role while creating or updating the application.</p>
685
+ * </li>
686
+ * <li>
687
+ * <p>Currently, <code>invokerRoleName</code> accepts only <code>[A-Za-z0-9_+=,.@-]</code> characters.</p>
688
+ * </li>
689
+ * </ul>
665
690
  * </note>
666
691
  */
667
692
  invokerRoleName?: string;
@@ -1104,6 +1129,62 @@ export interface ResiliencyPolicy {
1104
1129
  */
1105
1130
  tags?: Record<string, string>;
1106
1131
  }
1132
+ /**
1133
+ * @public
1134
+ * @enum
1135
+ */
1136
+ export declare const ResiliencyScoreType: {
1137
+ readonly ALARM: "Alarm";
1138
+ readonly COMPLIANCE: "Compliance";
1139
+ readonly SOP: "Sop";
1140
+ readonly TEST: "Test";
1141
+ };
1142
+ /**
1143
+ * @public
1144
+ */
1145
+ export type ResiliencyScoreType = (typeof ResiliencyScoreType)[keyof typeof ResiliencyScoreType];
1146
+ /**
1147
+ * @public
1148
+ * <p>Resiliency score of each scoring component. For more information about scoring component,
1149
+ * see <a href="https://docs.aws.amazon.com/resilience-hub/latest/userguide/calculate-score.html">Calculating resiliency
1150
+ * score</a>.</p>
1151
+ */
1152
+ export interface ScoringComponentResiliencyScore {
1153
+ /**
1154
+ * @public
1155
+ * <p>Resiliency score of your application.</p>
1156
+ */
1157
+ score?: number;
1158
+ /**
1159
+ * @public
1160
+ * <p>Maximum
1161
+ * possible score that can be obtained for the scoring component. If the <code>Possible
1162
+ * score</code> is 20 points, it indicates the maximum possible score you can achieve for your
1163
+ * application when you run a new assessment after implementing all the Resilience Hub
1164
+ * recommendations.</p>
1165
+ */
1166
+ possibleScore?: number;
1167
+ /**
1168
+ * @public
1169
+ * <p>Number
1170
+ * of issues that must be resolved to obtain the maximum possible score for the scoring
1171
+ * component. For SOPs, alarms, and FIS experiments, these are the number of
1172
+ * recommendations that must be implemented. For compliance, it is the number of Application
1173
+ * Components that has breached the resiliency policy.</p>
1174
+ * <p>For example, if the <code>Outstanding count</code> for Resilience Hub recommended Amazon CloudWatch
1175
+ * alarms is 5, it indicates that 5 Amazon CloudWatch alarms must be fixed to achieve the
1176
+ * maximum possible score.</p>
1177
+ */
1178
+ outstandingCount?: number;
1179
+ /**
1180
+ * @public
1181
+ * <p>Number
1182
+ * of recommendations that were excluded from the assessment.</p>
1183
+ * <p>For example, if the <code>Excluded count</code> for Resilience Hub recommended Amazon CloudWatch alarms
1184
+ * is 7, it indicates that 7 Amazon CloudWatch alarms are excluded from the assessment.</p>
1185
+ */
1186
+ excludedCount?: number;
1187
+ }
1107
1188
  /**
1108
1189
  * @public
1109
1190
  * <p>The overall resiliency score, returned as an object that includes the disruption score and
@@ -1120,6 +1201,13 @@ export interface ResiliencyScore {
1120
1201
  * <p>The disruption score for a valid key.</p>
1121
1202
  */
1122
1203
  disruptionScore: Partial<Record<DisruptionType, number>> | undefined;
1204
+ /**
1205
+ * @public
1206
+ * <p>The score generated by Resilience Hub for the scoring component after running an assessment.</p>
1207
+ * <p>For example, if the <code>score</code> is 25 points, it indicates the overall score of
1208
+ * your application generated by Resilience Hub after running an assessment.</p>
1209
+ */
1210
+ componentScore?: Partial<Record<ResiliencyScoreType, ScoringComponentResiliencyScore>>;
1123
1211
  }
1124
1212
  /**
1125
1213
  * @public
@@ -2025,7 +2113,7 @@ export interface PhysicalResource {
2025
2113
  physicalResourceId: PhysicalResourceId | undefined;
2026
2114
  /**
2027
2115
  * @public
2028
- * <p>Type of resource.</p>
2116
+ * <p>The type of resource.</p>
2029
2117
  */
2030
2118
  resourceType: string | undefined;
2031
2119
  /**
@@ -4476,6 +4564,11 @@ export interface SopRecommendation {
4476
4564
  * <p>Prerequisite for the SOP recommendation.</p>
4477
4565
  */
4478
4566
  prerequisite?: string;
4567
+ /**
4568
+ * @public
4569
+ * <p>Status of the recommended standard operating procedure.</p>
4570
+ */
4571
+ recommendationStatus?: RecommendationStatus;
4479
4572
  }
4480
4573
  /**
4481
4574
  * @public
@@ -4660,6 +4753,11 @@ export interface TestRecommendation {
4660
4753
  * with the test. </p>
4661
4754
  */
4662
4755
  dependsOnAlarms?: string[];
4756
+ /**
4757
+ * @public
4758
+ * <p>Status of the recommended test.</p>
4759
+ */
4760
+ recommendationStatus?: RecommendationStatus;
4663
4761
  }
4664
4762
  /**
4665
4763
  * @public
@@ -101,6 +101,14 @@ export interface RecommendationItem {
101
101
  excluded?: boolean;
102
102
  excludeReason?: ExcludeRecommendationReason;
103
103
  }
104
+ export declare const RecommendationStatus: {
105
+ readonly EXCLUDED: "Excluded";
106
+ readonly IMPLEMENTED: "Implemented";
107
+ readonly INACTIVE: "Inactive";
108
+ readonly NOT_IMPLEMENTED: "NotImplemented";
109
+ };
110
+ export type RecommendationStatus =
111
+ (typeof RecommendationStatus)[keyof typeof RecommendationStatus];
104
112
  export declare const AlarmType: {
105
113
  readonly CANARY: "Canary";
106
114
  readonly COMPOSITE: "Composite";
@@ -119,6 +127,7 @@ export interface AlarmRecommendation {
119
127
  items?: RecommendationItem[];
120
128
  prerequisite?: string;
121
129
  appComponentNames?: string[];
130
+ recommendationStatus?: RecommendationStatus;
122
131
  }
123
132
  export declare const AppAssessmentScheduleType: {
124
133
  readonly DAILY: "Daily";
@@ -285,9 +294,26 @@ export interface ResiliencyPolicy {
285
294
  creationTime?: Date;
286
295
  tags?: Record<string, string>;
287
296
  }
297
+ export declare const ResiliencyScoreType: {
298
+ readonly ALARM: "Alarm";
299
+ readonly COMPLIANCE: "Compliance";
300
+ readonly SOP: "Sop";
301
+ readonly TEST: "Test";
302
+ };
303
+ export type ResiliencyScoreType =
304
+ (typeof ResiliencyScoreType)[keyof typeof ResiliencyScoreType];
305
+ export interface ScoringComponentResiliencyScore {
306
+ score?: number;
307
+ possibleScore?: number;
308
+ outstandingCount?: number;
309
+ excludedCount?: number;
310
+ }
288
311
  export interface ResiliencyScore {
289
312
  score: number | undefined;
290
313
  disruptionScore: Partial<Record<DisruptionType, number>> | undefined;
314
+ componentScore?: Partial<
315
+ Record<ResiliencyScoreType, ScoringComponentResiliencyScore>
316
+ >;
291
317
  }
292
318
  export interface ResourceError {
293
319
  logicalResourceId?: string;
@@ -978,6 +1004,7 @@ export interface SopRecommendation {
978
1004
  items?: RecommendationItem[];
979
1005
  referenceId: string | undefined;
980
1006
  prerequisite?: string;
1007
+ recommendationStatus?: RecommendationStatus;
981
1008
  }
982
1009
  export interface ListSopRecommendationsResponse {
983
1010
  nextToken?: string;
@@ -1027,6 +1054,7 @@ export interface TestRecommendation {
1027
1054
  items?: RecommendationItem[];
1028
1055
  prerequisite?: string;
1029
1056
  dependsOnAlarms?: string[];
1057
+ recommendationStatus?: RecommendationStatus;
1030
1058
  }
1031
1059
  export interface ListTestRecommendationsResponse {
1032
1060
  nextToken?: string;
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.445.0",
4
+ "version": "3.449.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",
@@ -21,19 +21,19 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.445.0",
24
+ "@aws-sdk/client-sts": "3.449.0",
25
25
  "@aws-sdk/core": "3.445.0",
26
- "@aws-sdk/credential-provider-node": "3.445.0",
27
- "@aws-sdk/middleware-host-header": "3.433.0",
28
- "@aws-sdk/middleware-logger": "3.433.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.433.0",
30
- "@aws-sdk/middleware-signing": "3.433.0",
31
- "@aws-sdk/middleware-user-agent": "3.438.0",
26
+ "@aws-sdk/credential-provider-node": "3.449.0",
27
+ "@aws-sdk/middleware-host-header": "3.449.0",
28
+ "@aws-sdk/middleware-logger": "3.449.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.449.0",
30
+ "@aws-sdk/middleware-signing": "3.449.0",
31
+ "@aws-sdk/middleware-user-agent": "3.449.0",
32
32
  "@aws-sdk/region-config-resolver": "3.433.0",
33
- "@aws-sdk/types": "3.433.0",
34
- "@aws-sdk/util-endpoints": "3.438.0",
35
- "@aws-sdk/util-user-agent-browser": "3.433.0",
36
- "@aws-sdk/util-user-agent-node": "3.437.0",
33
+ "@aws-sdk/types": "3.449.0",
34
+ "@aws-sdk/util-endpoints": "3.449.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.449.0",
36
+ "@aws-sdk/util-user-agent-node": "3.449.0",
37
37
  "@smithy/config-resolver": "^2.0.16",
38
38
  "@smithy/fetch-http-handler": "^2.2.4",
39
39
  "@smithy/hash-node": "^2.0.12",