@aws-sdk/client-resiliencehub 3.430.0 → 3.433.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/dist-types/models/models_0.d.ts +10 -10
- package/dist-types/ts3.4/models/models_0.d.ts +11 -12
- package/package.json +31 -31
|
@@ -1075,7 +1075,7 @@ export interface ResiliencyPolicy {
|
|
|
1075
1075
|
* @public
|
|
1076
1076
|
* <p>The resiliency policy.</p>
|
|
1077
1077
|
*/
|
|
1078
|
-
policy?: Record<DisruptionType, FailurePolicy
|
|
1078
|
+
policy?: Partial<Record<DisruptionType, FailurePolicy>>;
|
|
1079
1079
|
/**
|
|
1080
1080
|
* @public
|
|
1081
1081
|
* <p>The timestamp for when the resiliency policy was created.</p>
|
|
@@ -1103,7 +1103,7 @@ export interface ResiliencyScore {
|
|
|
1103
1103
|
* @public
|
|
1104
1104
|
* <p>The disruption score for a valid key.</p>
|
|
1105
1105
|
*/
|
|
1106
|
-
disruptionScore: Record<DisruptionType, number
|
|
1106
|
+
disruptionScore: Partial<Record<DisruptionType, number>> | undefined;
|
|
1107
1107
|
}
|
|
1108
1108
|
/**
|
|
1109
1109
|
* @public
|
|
@@ -1184,7 +1184,7 @@ export interface AppAssessment {
|
|
|
1184
1184
|
* <p>Application
|
|
1185
1185
|
* compliance against the resiliency policy.</p>
|
|
1186
1186
|
*/
|
|
1187
|
-
compliance?: Record<DisruptionType, DisruptionCompliance
|
|
1187
|
+
compliance?: Partial<Record<DisruptionType, DisruptionCompliance>>;
|
|
1188
1188
|
/**
|
|
1189
1189
|
* @public
|
|
1190
1190
|
* <p>Current status of the compliance for the resiliency policy.</p>
|
|
@@ -1391,7 +1391,7 @@ export interface AppComponentCompliance {
|
|
|
1391
1391
|
* @public
|
|
1392
1392
|
* <p>The compliance of the Application Component against the resiliency policy.</p>
|
|
1393
1393
|
*/
|
|
1394
|
-
compliance?: Record<DisruptionType, DisruptionCompliance
|
|
1394
|
+
compliance?: Partial<Record<DisruptionType, DisruptionCompliance>>;
|
|
1395
1395
|
/**
|
|
1396
1396
|
* @public
|
|
1397
1397
|
* <p>The compliance message.</p>
|
|
@@ -2333,7 +2333,7 @@ export interface CreateResiliencyPolicyRequest {
|
|
|
2333
2333
|
* <p>The type of resiliency policy to be created, including the recovery time objective (RTO)
|
|
2334
2334
|
* and recovery point objective (RPO) in seconds.</p>
|
|
2335
2335
|
*/
|
|
2336
|
-
policy: Record<DisruptionType, FailurePolicy
|
|
2336
|
+
policy: Partial<Record<DisruptionType, FailurePolicy>> | undefined;
|
|
2337
2337
|
/**
|
|
2338
2338
|
* @public
|
|
2339
2339
|
* <p>Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters.
|
|
@@ -3594,7 +3594,7 @@ export interface ComplianceDrift {
|
|
|
3594
3594
|
* @public
|
|
3595
3595
|
* <p>The expected compliance value of an entity.</p>
|
|
3596
3596
|
*/
|
|
3597
|
-
expectedValue?: Record<DisruptionType, DisruptionCompliance
|
|
3597
|
+
expectedValue?: Partial<Record<DisruptionType, DisruptionCompliance>>;
|
|
3598
3598
|
/**
|
|
3599
3599
|
* @public
|
|
3600
3600
|
* <p>Assessment identifier that is associated with this drift item.</p>
|
|
@@ -3605,7 +3605,7 @@ export interface ComplianceDrift {
|
|
|
3605
3605
|
* <p>Actual
|
|
3606
3606
|
* compliance value of the entity.</p>
|
|
3607
3607
|
*/
|
|
3608
|
-
actualValue?: Record<DisruptionType, DisruptionCompliance
|
|
3608
|
+
actualValue?: Partial<Record<DisruptionType, DisruptionCompliance>>;
|
|
3609
3609
|
/**
|
|
3610
3610
|
* @public
|
|
3611
3611
|
* <p>Difference
|
|
@@ -3856,13 +3856,13 @@ export interface ConfigRecommendation {
|
|
|
3856
3856
|
* <p>The current compliance against the resiliency policy before applying the configuration
|
|
3857
3857
|
* change.</p>
|
|
3858
3858
|
*/
|
|
3859
|
-
compliance?: Record<DisruptionType, DisruptionCompliance
|
|
3859
|
+
compliance?: Partial<Record<DisruptionType, DisruptionCompliance>>;
|
|
3860
3860
|
/**
|
|
3861
3861
|
* @public
|
|
3862
3862
|
* <p>The expected compliance against the resiliency policy after applying the configuration
|
|
3863
3863
|
* change.</p>
|
|
3864
3864
|
*/
|
|
3865
|
-
recommendationCompliance?: Record<DisruptionType, RecommendationDisruptionCompliance
|
|
3865
|
+
recommendationCompliance?: Partial<Record<DisruptionType, RecommendationDisruptionCompliance>>;
|
|
3866
3866
|
/**
|
|
3867
3867
|
* @public
|
|
3868
3868
|
* <p>The type of optimization.</p>
|
|
@@ -5560,7 +5560,7 @@ export interface UpdateResiliencyPolicyRequest {
|
|
|
5560
5560
|
* <p>The type of resiliency policy to be created, including the recovery time objective (RTO)
|
|
5561
5561
|
* and recovery point objective (RPO) in seconds.</p>
|
|
5562
5562
|
*/
|
|
5563
|
-
policy?: Record<DisruptionType, FailurePolicy
|
|
5563
|
+
policy?: Partial<Record<DisruptionType, FailurePolicy>>;
|
|
5564
5564
|
}
|
|
5565
5565
|
/**
|
|
5566
5566
|
* @public
|
|
@@ -279,13 +279,13 @@ export interface ResiliencyPolicy {
|
|
|
279
279
|
dataLocationConstraint?: DataLocationConstraint;
|
|
280
280
|
tier?: ResiliencyPolicyTier;
|
|
281
281
|
estimatedCostTier?: EstimatedCostTier;
|
|
282
|
-
policy?: Record<DisruptionType, FailurePolicy
|
|
282
|
+
policy?: Partial<Record<DisruptionType, FailurePolicy>>;
|
|
283
283
|
creationTime?: Date;
|
|
284
284
|
tags?: Record<string, string>;
|
|
285
285
|
}
|
|
286
286
|
export interface ResiliencyScore {
|
|
287
287
|
score: number | undefined;
|
|
288
|
-
disruptionScore: Record<DisruptionType, number
|
|
288
|
+
disruptionScore: Partial<Record<DisruptionType, number>> | undefined;
|
|
289
289
|
}
|
|
290
290
|
export interface ResourceError {
|
|
291
291
|
logicalResourceId?: string;
|
|
@@ -302,7 +302,7 @@ export interface AppAssessment {
|
|
|
302
302
|
invoker: AssessmentInvoker | undefined;
|
|
303
303
|
cost?: Cost;
|
|
304
304
|
resiliencyScore?: ResiliencyScore;
|
|
305
|
-
compliance?: Record<DisruptionType, DisruptionCompliance
|
|
305
|
+
compliance?: Partial<Record<DisruptionType, DisruptionCompliance>>;
|
|
306
306
|
complianceStatus?: ComplianceStatus;
|
|
307
307
|
assessmentStatus: AssessmentStatus | undefined;
|
|
308
308
|
startTime?: Date;
|
|
@@ -341,7 +341,7 @@ export interface AppComponent {
|
|
|
341
341
|
export interface AppComponentCompliance {
|
|
342
342
|
cost?: Cost;
|
|
343
343
|
appComponentName?: string;
|
|
344
|
-
compliance?: Record<DisruptionType, DisruptionCompliance
|
|
344
|
+
compliance?: Partial<Record<DisruptionType, DisruptionCompliance>>;
|
|
345
345
|
message?: string;
|
|
346
346
|
status?: ComplianceStatus;
|
|
347
347
|
resiliencyScore?: ResiliencyScore;
|
|
@@ -545,7 +545,7 @@ export interface CreateResiliencyPolicyRequest {
|
|
|
545
545
|
policyDescription?: string;
|
|
546
546
|
dataLocationConstraint?: DataLocationConstraint;
|
|
547
547
|
tier: ResiliencyPolicyTier | undefined;
|
|
548
|
-
policy: Record<DisruptionType, FailurePolicy
|
|
548
|
+
policy: Partial<Record<DisruptionType, FailurePolicy>> | undefined;
|
|
549
549
|
clientToken?: string;
|
|
550
550
|
tags?: Record<string, string>;
|
|
551
551
|
}
|
|
@@ -771,9 +771,9 @@ export interface ComplianceDrift {
|
|
|
771
771
|
appId?: string;
|
|
772
772
|
appVersion?: string;
|
|
773
773
|
expectedReferenceId?: string;
|
|
774
|
-
expectedValue?: Record<DisruptionType, DisruptionCompliance
|
|
774
|
+
expectedValue?: Partial<Record<DisruptionType, DisruptionCompliance>>;
|
|
775
775
|
actualReferenceId?: string;
|
|
776
|
-
actualValue?: Record<DisruptionType, DisruptionCompliance
|
|
776
|
+
actualValue?: Partial<Record<DisruptionType, DisruptionCompliance>>;
|
|
777
777
|
diffType?: DifferenceType;
|
|
778
778
|
}
|
|
779
779
|
export interface ListAppAssessmentComplianceDriftsResponse {
|
|
@@ -837,10 +837,9 @@ export interface RecommendationDisruptionCompliance {
|
|
|
837
837
|
export interface ConfigRecommendation {
|
|
838
838
|
cost?: Cost;
|
|
839
839
|
appComponentName?: string;
|
|
840
|
-
compliance?: Record<DisruptionType, DisruptionCompliance
|
|
841
|
-
recommendationCompliance?:
|
|
842
|
-
DisruptionType,
|
|
843
|
-
RecommendationDisruptionCompliance
|
|
840
|
+
compliance?: Partial<Record<DisruptionType, DisruptionCompliance>>;
|
|
841
|
+
recommendationCompliance?: Partial<
|
|
842
|
+
Record<DisruptionType, RecommendationDisruptionCompliance>
|
|
844
843
|
>;
|
|
845
844
|
optimizationType: ConfigRecommendationOptimizationType | undefined;
|
|
846
845
|
name: string | undefined;
|
|
@@ -1160,7 +1159,7 @@ export interface UpdateResiliencyPolicyRequest {
|
|
|
1160
1159
|
policyDescription?: string;
|
|
1161
1160
|
dataLocationConstraint?: DataLocationConstraint;
|
|
1162
1161
|
tier?: ResiliencyPolicyTier;
|
|
1163
|
-
policy?: Record<DisruptionType, FailurePolicy
|
|
1162
|
+
policy?: Partial<Record<DisruptionType, FailurePolicy>>;
|
|
1164
1163
|
}
|
|
1165
1164
|
export interface UpdateResiliencyPolicyResponse {
|
|
1166
1165
|
policy: ResiliencyPolicy | undefined;
|
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.
|
|
4
|
+
"version": "3.433.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,39 +21,39 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.2.
|
|
38
|
-
"@smithy/hash-node": "^2.0.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.1.
|
|
42
|
-
"@smithy/middleware-retry": "^2.0.
|
|
43
|
-
"@smithy/middleware-serde": "^2.0.
|
|
44
|
-
"@smithy/middleware-stack": "^2.0.
|
|
45
|
-
"@smithy/node-config-provider": "^2.1.
|
|
46
|
-
"@smithy/node-http-handler": "^2.1.
|
|
47
|
-
"@smithy/protocol-http": "^3.0.
|
|
48
|
-
"@smithy/smithy-client": "^2.1.
|
|
49
|
-
"@smithy/types": "^2.
|
|
50
|
-
"@smithy/url-parser": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.433.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.433.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.433.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.433.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.433.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.433.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.433.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.433.0",
|
|
32
|
+
"@aws-sdk/types": "3.433.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.433.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.433.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.433.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.16",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.2.4",
|
|
38
|
+
"@smithy/hash-node": "^2.0.12",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.0.12",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.0.14",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.1.3",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.18",
|
|
43
|
+
"@smithy/middleware-serde": "^2.0.12",
|
|
44
|
+
"@smithy/middleware-stack": "^2.0.6",
|
|
45
|
+
"@smithy/node-config-provider": "^2.1.3",
|
|
46
|
+
"@smithy/node-http-handler": "^2.1.8",
|
|
47
|
+
"@smithy/protocol-http": "^3.0.8",
|
|
48
|
+
"@smithy/smithy-client": "^2.1.12",
|
|
49
|
+
"@smithy/types": "^2.4.0",
|
|
50
|
+
"@smithy/url-parser": "^2.0.12",
|
|
51
51
|
"@smithy/util-base64": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
56
|
-
"@smithy/util-retry": "^2.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.0.16",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.21",
|
|
56
|
+
"@smithy/util-retry": "^2.0.5",
|
|
57
57
|
"@smithy/util-utf8": "^2.0.0",
|
|
58
58
|
"tslib": "^2.5.0",
|
|
59
59
|
"uuid": "^8.3.2"
|