@aws-sdk/client-resiliencehub 3.319.0 → 3.325.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-cjs/models/models_0.js +6 -2
- package/dist-es/models/models_0.js +4 -0
- package/dist-types/commands/CreateAppCommand.d.ts +4 -3
- package/dist-types/commands/CreateAppVersionResourceCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +21 -1
- package/dist-types/ts3.4/models/models_0.d.ts +9 -1
- package/package.json +17 -17
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UpdateResiliencyPolicyResponseFilterSensitiveLog = exports.UpdateAppResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.StartAppAssessmentResponseFilterSensitiveLog = exports.StartAppAssessmentRequestFilterSensitiveLog = void 0;
|
|
3
|
+
exports.ListSuggestedResiliencyPoliciesResponseFilterSensitiveLog = exports.ListResiliencyPoliciesResponseFilterSensitiveLog = exports.ListRecommendationTemplatesResponseFilterSensitiveLog = exports.DescribeResiliencyPolicyResponseFilterSensitiveLog = exports.DescribeAppAssessmentResponseFilterSensitiveLog = exports.DescribeAppResponseFilterSensitiveLog = exports.CreateResiliencyPolicyResponseFilterSensitiveLog = 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.ResourceImportStrategyType = exports.ResourceImportStatusType = exports.ResourceResolutionStatusType = exports.RecommendationTemplateStatus = exports.RenderRecommendationType = exports.TemplateFormat = exports.ResourceSourceType = exports.ServiceQuotaExceededException = exports.ResiliencyPolicyTier = exports.EstimatedCostTier = exports.DataLocationConstraint = exports.AssessmentInvoker = exports.CostFrequency = exports.ComplianceStatus = exports.DisruptionType = exports.AssessmentStatus = exports.AppStatusType = exports.AppComplianceStatusType = exports.AppAssessmentScheduleType = exports.AlarmType = 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 = void 0;
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const ResiliencehubServiceException_1 = require("./ResiliencehubServiceException");
|
|
7
7
|
class AccessDeniedException extends ResiliencehubServiceException_1.ResiliencehubServiceException {
|
|
@@ -177,6 +177,10 @@ class ServiceQuotaExceededException extends ResiliencehubServiceException_1.Resi
|
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
179
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
180
|
+
exports.ResourceSourceType = {
|
|
181
|
+
APP_TEMPLATE: "AppTemplate",
|
|
182
|
+
DISCOVERED: "Discovered",
|
|
183
|
+
};
|
|
180
184
|
exports.TemplateFormat = {
|
|
181
185
|
CFN_JSON: "CfnJson",
|
|
182
186
|
CFN_YAML: "CfnYaml",
|
|
@@ -166,6 +166,10 @@ export class ServiceQuotaExceededException extends __BaseException {
|
|
|
166
166
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
|
+
export const ResourceSourceType = {
|
|
170
|
+
APP_TEMPLATE: "AppTemplate",
|
|
171
|
+
DISCOVERED: "Discovered",
|
|
172
|
+
};
|
|
169
173
|
export const TemplateFormat = {
|
|
170
174
|
CFN_JSON: "CfnJson",
|
|
171
175
|
CFN_YAML: "CfnYaml",
|
|
@@ -20,9 +20,10 @@ export interface CreateAppCommandOutput extends CreateAppResponse, __MetadataBea
|
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
22
|
* <p>Creates an Resilience Hub application. An Resilience Hub application is a
|
|
23
|
-
* collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe
|
|
24
|
-
* application name, resources from one or more
|
|
25
|
-
* resiliency policy
|
|
23
|
+
* collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe an Resilience Hub application, you provide an
|
|
24
|
+
* application name, resources from one or more CloudFormation stacks, Resource Groups,
|
|
25
|
+
* Terraform state files, AppRegistry applications, and an appropriate resiliency policy. For
|
|
26
|
+
* 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 Quotas</a>.</p>
|
|
26
27
|
* <p>After you create an Resilience Hub application, you publish it so that you can run a resiliency
|
|
27
28
|
* assessment on it. You can then use recommendations from the assessment to improve resiliency
|
|
28
29
|
* by running another assessment, comparing results, and then iterating the process until you
|
|
@@ -46,7 +46,7 @@ export interface CreateAppVersionResourceCommandOutput extends CreateAppVersionR
|
|
|
46
46
|
* const client = new ResiliencehubClient(config);
|
|
47
47
|
* const input = { // CreateAppVersionResourceRequest
|
|
48
48
|
* appArn: "STRING_VALUE", // required
|
|
49
|
-
* resourceName: "STRING_VALUE",
|
|
49
|
+
* resourceName: "STRING_VALUE",
|
|
50
50
|
* logicalResourceId: { // LogicalResourceId
|
|
51
51
|
* identifier: "STRING_VALUE", // required
|
|
52
52
|
* logicalStackName: "STRING_VALUE",
|
|
@@ -1225,7 +1225,7 @@ export interface CreateAppVersionResourceRequest {
|
|
|
1225
1225
|
/**
|
|
1226
1226
|
* <p>The name of the resource.</p>
|
|
1227
1227
|
*/
|
|
1228
|
-
resourceName
|
|
1228
|
+
resourceName?: string;
|
|
1229
1229
|
/**
|
|
1230
1230
|
* <p>The logical identifier of the resource.</p>
|
|
1231
1231
|
*/
|
|
@@ -1260,6 +1260,18 @@ export interface CreateAppVersionResourceRequest {
|
|
|
1260
1260
|
*/
|
|
1261
1261
|
clientToken?: string;
|
|
1262
1262
|
}
|
|
1263
|
+
/**
|
|
1264
|
+
* @public
|
|
1265
|
+
* @enum
|
|
1266
|
+
*/
|
|
1267
|
+
export declare const ResourceSourceType: {
|
|
1268
|
+
readonly APP_TEMPLATE: "AppTemplate";
|
|
1269
|
+
readonly DISCOVERED: "Discovered";
|
|
1270
|
+
};
|
|
1271
|
+
/**
|
|
1272
|
+
* @public
|
|
1273
|
+
*/
|
|
1274
|
+
export type ResourceSourceType = (typeof ResourceSourceType)[keyof typeof ResourceSourceType];
|
|
1263
1275
|
/**
|
|
1264
1276
|
* @public
|
|
1265
1277
|
* <p>Defines a physical resource. A physical resource is a resource that exists in your
|
|
@@ -1302,6 +1314,14 @@ export interface PhysicalResource {
|
|
|
1302
1314
|
* <p>Indicates if a resource is included or excluded from the assessment.</p>
|
|
1303
1315
|
*/
|
|
1304
1316
|
excluded?: boolean;
|
|
1317
|
+
/**
|
|
1318
|
+
* <p>The type of input source.</p>
|
|
1319
|
+
*/
|
|
1320
|
+
sourceType?: ResourceSourceType | string;
|
|
1321
|
+
/**
|
|
1322
|
+
* <p>The name of the parent resource.</p>
|
|
1323
|
+
*/
|
|
1324
|
+
parentResourceName?: string;
|
|
1305
1325
|
}
|
|
1306
1326
|
/**
|
|
1307
1327
|
* @public
|
|
@@ -361,7 +361,7 @@ export interface LogicalResourceId {
|
|
|
361
361
|
}
|
|
362
362
|
export interface CreateAppVersionResourceRequest {
|
|
363
363
|
appArn: string | undefined;
|
|
364
|
-
resourceName
|
|
364
|
+
resourceName?: string;
|
|
365
365
|
logicalResourceId: LogicalResourceId | undefined;
|
|
366
366
|
physicalResourceId: string | undefined;
|
|
367
367
|
awsRegion?: string;
|
|
@@ -371,6 +371,12 @@ export interface CreateAppVersionResourceRequest {
|
|
|
371
371
|
additionalInfo?: Record<string, string[]>;
|
|
372
372
|
clientToken?: string;
|
|
373
373
|
}
|
|
374
|
+
export declare const ResourceSourceType: {
|
|
375
|
+
readonly APP_TEMPLATE: "AppTemplate";
|
|
376
|
+
readonly DISCOVERED: "Discovered";
|
|
377
|
+
};
|
|
378
|
+
export type ResourceSourceType =
|
|
379
|
+
(typeof ResourceSourceType)[keyof typeof ResourceSourceType];
|
|
374
380
|
export interface PhysicalResource {
|
|
375
381
|
resourceName?: string;
|
|
376
382
|
logicalResourceId: LogicalResourceId | undefined;
|
|
@@ -379,6 +385,8 @@ export interface PhysicalResource {
|
|
|
379
385
|
appComponents?: AppComponent[];
|
|
380
386
|
additionalInfo?: Record<string, string[]>;
|
|
381
387
|
excluded?: boolean;
|
|
388
|
+
sourceType?: ResourceSourceType | string;
|
|
389
|
+
parentResourceName?: string;
|
|
382
390
|
}
|
|
383
391
|
export interface CreateAppVersionResourceResponse {
|
|
384
392
|
appArn: string | 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.325.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,33 +21,33 @@
|
|
|
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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.325.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.325.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.325.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.325.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.325.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.325.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.325.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.325.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.325.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.325.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.325.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.325.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.321.1",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.325.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.325.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.325.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|