@aws-sdk/client-resiliencehub 3.85.0 → 3.94.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 +27 -0
- package/dist-cjs/models/models_0.js +27 -3
- package/dist-cjs/protocols/Aws_restJson1.js +97 -0
- package/dist-es/models/models_0.js +18 -0
- package/dist-es/protocols/Aws_restJson1.js +97 -7
- package/dist-types/models/models_0.d.ts +204 -58
- package/dist-types/ts3.4/models/models_0.d.ts +63 -3
- package/package.json +4 -4
|
@@ -11,7 +11,8 @@ export declare enum ResourceMappingType {
|
|
|
11
11
|
APP_REGISTRY_APP = "AppRegistryApp",
|
|
12
12
|
CFN_STACK = "CfnStack",
|
|
13
13
|
RESOURCE = "Resource",
|
|
14
|
-
RESOURCE_GROUP = "ResourceGroup"
|
|
14
|
+
RESOURCE_GROUP = "ResourceGroup",
|
|
15
|
+
TERRAFORM = "Terraform"
|
|
15
16
|
}
|
|
16
17
|
export declare enum PhysicalIdentifierType {
|
|
17
18
|
ARN = "Arn",
|
|
@@ -46,6 +47,8 @@ export interface ResourceMapping {
|
|
|
46
47
|
mappingType: ResourceMappingType | string | undefined;
|
|
47
48
|
|
|
48
49
|
physicalResourceId: PhysicalResourceId | undefined;
|
|
50
|
+
|
|
51
|
+
terraformSourceName?: string;
|
|
49
52
|
}
|
|
50
53
|
export declare namespace ResourceMapping {
|
|
51
54
|
|
|
@@ -163,6 +166,10 @@ export declare namespace AlarmRecommendation {
|
|
|
163
166
|
|
|
164
167
|
const filterSensitiveLog: (obj: AlarmRecommendation) => any;
|
|
165
168
|
}
|
|
169
|
+
export declare enum AppAssessmentScheduleType {
|
|
170
|
+
DAILY = "Daily",
|
|
171
|
+
DISABLED = "Disabled"
|
|
172
|
+
}
|
|
166
173
|
export declare enum AppComplianceStatusType {
|
|
167
174
|
CHANGES_DETECTED = "ChangesDetected",
|
|
168
175
|
NOT_ASSESSED = "NotAssessed",
|
|
@@ -199,6 +206,8 @@ export interface App {
|
|
|
199
206
|
tags?: {
|
|
200
207
|
[key: string]: string;
|
|
201
208
|
};
|
|
209
|
+
|
|
210
|
+
assessmentSchedule?: AppAssessmentScheduleType | string;
|
|
202
211
|
}
|
|
203
212
|
export declare namespace App {
|
|
204
213
|
|
|
@@ -342,6 +351,30 @@ export declare namespace ResiliencyScore {
|
|
|
342
351
|
const filterSensitiveLog: (obj: ResiliencyScore) => any;
|
|
343
352
|
}
|
|
344
353
|
|
|
354
|
+
export interface ResourceError {
|
|
355
|
+
|
|
356
|
+
logicalResourceId?: string;
|
|
357
|
+
|
|
358
|
+
physicalResourceId?: string;
|
|
359
|
+
|
|
360
|
+
reason?: string;
|
|
361
|
+
}
|
|
362
|
+
export declare namespace ResourceError {
|
|
363
|
+
|
|
364
|
+
const filterSensitiveLog: (obj: ResourceError) => any;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
export interface ResourceErrorsDetails {
|
|
368
|
+
|
|
369
|
+
resourceErrors?: ResourceError[];
|
|
370
|
+
|
|
371
|
+
hasMoreErrors?: boolean;
|
|
372
|
+
}
|
|
373
|
+
export declare namespace ResourceErrorsDetails {
|
|
374
|
+
|
|
375
|
+
const filterSensitiveLog: (obj: ResourceErrorsDetails) => any;
|
|
376
|
+
}
|
|
377
|
+
|
|
345
378
|
export interface AppAssessment {
|
|
346
379
|
|
|
347
380
|
appArn?: string;
|
|
@@ -377,6 +410,8 @@ export interface AppAssessment {
|
|
|
377
410
|
tags?: {
|
|
378
411
|
[key: string]: string;
|
|
379
412
|
};
|
|
413
|
+
|
|
414
|
+
resourceErrorsDetails?: ResourceErrorsDetails;
|
|
380
415
|
}
|
|
381
416
|
export declare namespace AppAssessment {
|
|
382
417
|
|
|
@@ -459,6 +494,8 @@ export interface AppSummary {
|
|
|
459
494
|
complianceStatus?: AppComplianceStatusType | string;
|
|
460
495
|
|
|
461
496
|
resiliencyScore?: number;
|
|
497
|
+
|
|
498
|
+
assessmentSchedule?: AppAssessmentScheduleType | string;
|
|
462
499
|
}
|
|
463
500
|
export declare namespace AppSummary {
|
|
464
501
|
|
|
@@ -486,6 +523,8 @@ export interface CreateAppRequest {
|
|
|
486
523
|
};
|
|
487
524
|
|
|
488
525
|
clientToken?: string;
|
|
526
|
+
|
|
527
|
+
assessmentSchedule?: AppAssessmentScheduleType | string;
|
|
489
528
|
}
|
|
490
529
|
export declare namespace CreateAppRequest {
|
|
491
530
|
|
|
@@ -845,11 +884,22 @@ export declare namespace DescribeResiliencyPolicyResponse {
|
|
|
845
884
|
|
|
846
885
|
const filterSensitiveLog: (obj: DescribeResiliencyPolicyResponse) => any;
|
|
847
886
|
}
|
|
887
|
+
|
|
888
|
+
export interface TerraformSource {
|
|
889
|
+
|
|
890
|
+
s3StateFileUrl: string | undefined;
|
|
891
|
+
}
|
|
892
|
+
export declare namespace TerraformSource {
|
|
893
|
+
|
|
894
|
+
const filterSensitiveLog: (obj: TerraformSource) => any;
|
|
895
|
+
}
|
|
848
896
|
export interface ImportResourcesToDraftAppVersionRequest {
|
|
849
897
|
|
|
850
898
|
appArn: string | undefined;
|
|
851
899
|
|
|
852
|
-
sourceArns
|
|
900
|
+
sourceArns?: string[];
|
|
901
|
+
|
|
902
|
+
terraformSources?: TerraformSource[];
|
|
853
903
|
}
|
|
854
904
|
export declare namespace ImportResourcesToDraftAppVersionRequest {
|
|
855
905
|
|
|
@@ -861,9 +911,11 @@ export interface ImportResourcesToDraftAppVersionResponse {
|
|
|
861
911
|
|
|
862
912
|
appVersion: string | undefined;
|
|
863
913
|
|
|
864
|
-
sourceArns
|
|
914
|
+
sourceArns?: string[];
|
|
865
915
|
|
|
866
916
|
status: ResourceImportStatusType | string | undefined;
|
|
917
|
+
|
|
918
|
+
terraformSources?: TerraformSource[];
|
|
867
919
|
}
|
|
868
920
|
export declare namespace ImportResourcesToDraftAppVersionResponse {
|
|
869
921
|
|
|
@@ -1119,6 +1171,8 @@ export interface LogicalResourceId {
|
|
|
1119
1171
|
logicalStackName?: string;
|
|
1120
1172
|
|
|
1121
1173
|
resourceGroupName?: string;
|
|
1174
|
+
|
|
1175
|
+
terraformSourceName?: string;
|
|
1122
1176
|
}
|
|
1123
1177
|
export declare namespace LogicalResourceId {
|
|
1124
1178
|
|
|
@@ -1358,6 +1412,8 @@ export interface TestRecommendation {
|
|
|
1358
1412
|
items?: RecommendationItem[];
|
|
1359
1413
|
|
|
1360
1414
|
prerequisite?: string;
|
|
1415
|
+
|
|
1416
|
+
dependsOnAlarms?: string[];
|
|
1361
1417
|
}
|
|
1362
1418
|
export declare namespace TestRecommendation {
|
|
1363
1419
|
|
|
@@ -1463,6 +1519,8 @@ export interface RemoveDraftAppVersionResourceMappingsRequest {
|
|
|
1463
1519
|
appRegistryAppNames?: string[];
|
|
1464
1520
|
|
|
1465
1521
|
resourceGroupNames?: string[];
|
|
1522
|
+
|
|
1523
|
+
terraformSourceNames?: string[];
|
|
1466
1524
|
}
|
|
1467
1525
|
export declare namespace RemoveDraftAppVersionResourceMappingsRequest {
|
|
1468
1526
|
|
|
@@ -1571,6 +1629,8 @@ export interface UpdateAppRequest {
|
|
|
1571
1629
|
policyArn?: string;
|
|
1572
1630
|
|
|
1573
1631
|
clearResiliencyPolicyArn?: boolean;
|
|
1632
|
+
|
|
1633
|
+
assessmentSchedule?: AppAssessmentScheduleType | string;
|
|
1574
1634
|
}
|
|
1575
1635
|
export declare namespace UpdateAppRequest {
|
|
1576
1636
|
|
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.94.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,9 +18,9 @@
|
|
|
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.
|
|
21
|
+
"@aws-sdk/client-sts": "3.94.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.94.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",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@aws-sdk/middleware-stack": "3.78.0",
|
|
34
34
|
"@aws-sdk/middleware-user-agent": "3.78.0",
|
|
35
35
|
"@aws-sdk/node-config-provider": "3.80.0",
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.94.0",
|
|
37
37
|
"@aws-sdk/protocol-http": "3.78.0",
|
|
38
38
|
"@aws-sdk/smithy-client": "3.85.0",
|
|
39
39
|
"@aws-sdk/types": "3.78.0",
|