@aws-sdk/client-resiliencehub 3.299.0 → 3.301.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/commands/AddDraftAppVersionResourceMappingsCommand.d.ts +20 -0
- package/dist-types/commands/CreateAppCommand.d.ts +10 -0
- package/dist-types/commands/CreateAppVersionAppComponentCommand.d.ts +12 -0
- package/dist-types/commands/CreateAppVersionResourceCommand.d.ts +24 -0
- package/dist-types/commands/CreateRecommendationTemplateCommand.d.ts +16 -0
- package/dist-types/commands/CreateResiliencyPolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeleteAppAssessmentCommand.d.ts +4 -0
- package/dist-types/commands/DeleteAppCommand.d.ts +5 -0
- package/dist-types/commands/DeleteAppInputSourceCommand.d.ts +12 -0
- package/dist-types/commands/DeleteAppVersionAppComponentCommand.d.ts +5 -0
- package/dist-types/commands/DeleteAppVersionResourceCommand.d.ts +15 -0
- package/dist-types/commands/DeleteRecommendationTemplateCommand.d.ts +4 -0
- package/dist-types/commands/DeleteResiliencyPolicyCommand.d.ts +4 -0
- package/dist-types/commands/DescribeAppAssessmentCommand.d.ts +3 -0
- package/dist-types/commands/DescribeAppCommand.d.ts +3 -0
- package/dist-types/commands/DescribeAppVersionAppComponentCommand.d.ts +5 -0
- package/dist-types/commands/DescribeAppVersionCommand.d.ts +4 -0
- package/dist-types/commands/DescribeAppVersionResourceCommand.d.ts +15 -0
- package/dist-types/commands/DescribeAppVersionResourcesResolutionStatusCommand.d.ts +5 -0
- package/dist-types/commands/DescribeAppVersionTemplateCommand.d.ts +4 -0
- package/dist-types/commands/DescribeDraftAppVersionResourcesImportStatusCommand.d.ts +3 -0
- package/dist-types/commands/DescribeResiliencyPolicyCommand.d.ts +3 -0
- package/dist-types/commands/ImportResourcesToDraftAppVersionCommand.d.ts +20 -0
- package/dist-types/commands/ListAlarmRecommendationsCommand.d.ts +5 -0
- package/dist-types/commands/ListAppAssessmentsCommand.d.ts +12 -0
- package/dist-types/commands/ListAppComponentCompliancesCommand.d.ts +5 -0
- package/dist-types/commands/ListAppComponentRecommendationsCommand.d.ts +5 -0
- package/dist-types/commands/ListAppInputSourcesCommand.d.ts +6 -0
- package/dist-types/commands/ListAppVersionAppComponentsCommand.d.ts +6 -0
- package/dist-types/commands/ListAppVersionResourceMappingsCommand.d.ts +6 -0
- package/dist-types/commands/ListAppVersionResourcesCommand.d.ts +7 -0
- package/dist-types/commands/ListAppVersionsCommand.d.ts +5 -0
- package/dist-types/commands/ListAppsCommand.d.ts +6 -0
- package/dist-types/commands/ListRecommendationTemplatesCommand.d.ts +11 -0
- package/dist-types/commands/ListResiliencyPoliciesCommand.d.ts +5 -0
- package/dist-types/commands/ListSopRecommendationsCommand.d.ts +5 -0
- package/dist-types/commands/ListSuggestedResiliencyPoliciesCommand.d.ts +4 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/ListTestRecommendationsCommand.d.ts +5 -0
- package/dist-types/commands/ListUnsupportedAppVersionResourcesCommand.d.ts +7 -0
- package/dist-types/commands/PublishAppVersionCommand.d.ts +3 -0
- package/dist-types/commands/PutDraftAppVersionTemplateCommand.d.ts +4 -0
- package/dist-types/commands/RemoveDraftAppVersionResourceMappingsCommand.d.ts +21 -0
- package/dist-types/commands/ResolveAppVersionResourcesCommand.d.ts +4 -0
- package/dist-types/commands/StartAppAssessmentCommand.d.ts +9 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateAppCommand.d.ts +7 -0
- package/dist-types/commands/UpdateAppVersionAppComponentCommand.d.ts +11 -0
- package/dist-types/commands/UpdateAppVersionCommand.d.ts +8 -0
- package/dist-types/commands/UpdateAppVersionResourceCommand.d.ts +24 -0
- package/dist-types/commands/UpdateResiliencyPolicyCommand.d.ts +13 -0
- package/package.json +8 -8
|
@@ -26,6 +26,26 @@ export interface AddDraftAppVersionResourceMappingsCommandOutput extends AddDraf
|
|
|
26
26
|
* import { ResiliencehubClient, AddDraftAppVersionResourceMappingsCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
27
27
|
* // const { ResiliencehubClient, AddDraftAppVersionResourceMappingsCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
28
28
|
* const client = new ResiliencehubClient(config);
|
|
29
|
+
* const input = { // AddDraftAppVersionResourceMappingsRequest
|
|
30
|
+
* appArn: "STRING_VALUE", // required
|
|
31
|
+
* resourceMappings: [ // ResourceMappingList // required
|
|
32
|
+
* { // ResourceMapping
|
|
33
|
+
* resourceName: "STRING_VALUE",
|
|
34
|
+
* logicalStackName: "STRING_VALUE",
|
|
35
|
+
* appRegistryAppName: "STRING_VALUE",
|
|
36
|
+
* resourceGroupName: "STRING_VALUE",
|
|
37
|
+
* mappingType: "STRING_VALUE", // required
|
|
38
|
+
* physicalResourceId: { // PhysicalResourceId
|
|
39
|
+
* identifier: "STRING_VALUE", // required
|
|
40
|
+
* type: "STRING_VALUE", // required
|
|
41
|
+
* awsRegion: "STRING_VALUE",
|
|
42
|
+
* awsAccountId: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* terraformSourceName: "STRING_VALUE",
|
|
45
|
+
* eksSourceName: "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* };
|
|
29
49
|
* const command = new AddDraftAppVersionResourceMappingsCommand(input);
|
|
30
50
|
* const response = await client.send(command);
|
|
31
51
|
* ```
|
|
@@ -34,6 +34,16 @@ export interface CreateAppCommandOutput extends CreateAppResponse, __MetadataBea
|
|
|
34
34
|
* import { ResiliencehubClient, CreateAppCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
35
35
|
* // const { ResiliencehubClient, CreateAppCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
36
36
|
* const client = new ResiliencehubClient(config);
|
|
37
|
+
* const input = { // CreateAppRequest
|
|
38
|
+
* name: "STRING_VALUE", // required
|
|
39
|
+
* description: "STRING_VALUE",
|
|
40
|
+
* policyArn: "STRING_VALUE",
|
|
41
|
+
* tags: { // TagMap
|
|
42
|
+
* "<keys>": "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* clientToken: "STRING_VALUE",
|
|
45
|
+
* assessmentSchedule: "STRING_VALUE",
|
|
46
|
+
* };
|
|
37
47
|
* const command = new CreateAppCommand(input);
|
|
38
48
|
* const response = await client.send(command);
|
|
39
49
|
* ```
|
|
@@ -29,6 +29,18 @@ export interface CreateAppVersionAppComponentCommandOutput extends CreateAppVers
|
|
|
29
29
|
* import { ResiliencehubClient, CreateAppVersionAppComponentCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
30
30
|
* // const { ResiliencehubClient, CreateAppVersionAppComponentCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
31
31
|
* const client = new ResiliencehubClient(config);
|
|
32
|
+
* const input = { // CreateAppVersionAppComponentRequest
|
|
33
|
+
* appArn: "STRING_VALUE", // required
|
|
34
|
+
* id: "STRING_VALUE",
|
|
35
|
+
* name: "STRING_VALUE", // required
|
|
36
|
+
* type: "STRING_VALUE", // required
|
|
37
|
+
* additionalInfo: { // AdditionalInfoMap
|
|
38
|
+
* "<keys>": [ // AdditionalInfoValueList
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* },
|
|
42
|
+
* clientToken: "STRING_VALUE",
|
|
43
|
+
* };
|
|
32
44
|
* const command = new CreateAppVersionAppComponentCommand(input);
|
|
33
45
|
* const response = await client.send(command);
|
|
34
46
|
* ```
|
|
@@ -44,6 +44,30 @@ export interface CreateAppVersionResourceCommandOutput extends CreateAppVersionR
|
|
|
44
44
|
* import { ResiliencehubClient, CreateAppVersionResourceCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
45
45
|
* // const { ResiliencehubClient, CreateAppVersionResourceCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
46
46
|
* const client = new ResiliencehubClient(config);
|
|
47
|
+
* const input = { // CreateAppVersionResourceRequest
|
|
48
|
+
* appArn: "STRING_VALUE", // required
|
|
49
|
+
* resourceName: "STRING_VALUE", // required
|
|
50
|
+
* logicalResourceId: { // LogicalResourceId
|
|
51
|
+
* identifier: "STRING_VALUE", // required
|
|
52
|
+
* logicalStackName: "STRING_VALUE",
|
|
53
|
+
* resourceGroupName: "STRING_VALUE",
|
|
54
|
+
* terraformSourceName: "STRING_VALUE",
|
|
55
|
+
* eksSourceName: "STRING_VALUE",
|
|
56
|
+
* },
|
|
57
|
+
* physicalResourceId: "STRING_VALUE", // required
|
|
58
|
+
* awsRegion: "STRING_VALUE",
|
|
59
|
+
* awsAccountId: "STRING_VALUE",
|
|
60
|
+
* resourceType: "STRING_VALUE", // required
|
|
61
|
+
* appComponents: [ // AppComponentNameList // required
|
|
62
|
+
* "STRING_VALUE",
|
|
63
|
+
* ],
|
|
64
|
+
* additionalInfo: { // AdditionalInfoMap
|
|
65
|
+
* "<keys>": [ // AdditionalInfoValueList
|
|
66
|
+
* "STRING_VALUE",
|
|
67
|
+
* ],
|
|
68
|
+
* },
|
|
69
|
+
* clientToken: "STRING_VALUE",
|
|
70
|
+
* };
|
|
47
71
|
* const command = new CreateAppVersionResourceCommand(input);
|
|
48
72
|
* const response = await client.send(command);
|
|
49
73
|
* ```
|
|
@@ -26,6 +26,22 @@ export interface CreateRecommendationTemplateCommandOutput extends CreateRecomme
|
|
|
26
26
|
* import { ResiliencehubClient, CreateRecommendationTemplateCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
27
27
|
* // const { ResiliencehubClient, CreateRecommendationTemplateCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
28
28
|
* const client = new ResiliencehubClient(config);
|
|
29
|
+
* const input = { // CreateRecommendationTemplateRequest
|
|
30
|
+
* recommendationIds: [ // RecommendationIdList
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* format: "STRING_VALUE",
|
|
34
|
+
* recommendationTypes: [ // RenderRecommendationTypeList
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* assessmentArn: "STRING_VALUE", // required
|
|
38
|
+
* name: "STRING_VALUE", // required
|
|
39
|
+
* clientToken: "STRING_VALUE",
|
|
40
|
+
* tags: { // TagMap
|
|
41
|
+
* "<keys>": "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* bucketName: "STRING_VALUE",
|
|
44
|
+
* };
|
|
29
45
|
* const command = new CreateRecommendationTemplateCommand(input);
|
|
30
46
|
* const response = await client.send(command);
|
|
31
47
|
* ```
|
|
@@ -26,6 +26,22 @@ export interface CreateResiliencyPolicyCommandOutput extends CreateResiliencyPol
|
|
|
26
26
|
* import { ResiliencehubClient, CreateResiliencyPolicyCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
27
27
|
* // const { ResiliencehubClient, CreateResiliencyPolicyCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
28
28
|
* const client = new ResiliencehubClient(config);
|
|
29
|
+
* const input = { // CreateResiliencyPolicyRequest
|
|
30
|
+
* policyName: "STRING_VALUE", // required
|
|
31
|
+
* policyDescription: "STRING_VALUE",
|
|
32
|
+
* dataLocationConstraint: "STRING_VALUE",
|
|
33
|
+
* tier: "STRING_VALUE", // required
|
|
34
|
+
* policy: { // DisruptionPolicy // required
|
|
35
|
+
* "<keys>": { // FailurePolicy
|
|
36
|
+
* rtoInSecs: Number("int"), // required
|
|
37
|
+
* rpoInSecs: Number("int"), // required
|
|
38
|
+
* },
|
|
39
|
+
* },
|
|
40
|
+
* clientToken: "STRING_VALUE",
|
|
41
|
+
* tags: { // TagMap
|
|
42
|
+
* "<keys>": "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* };
|
|
29
45
|
* const command = new CreateResiliencyPolicyCommand(input);
|
|
30
46
|
* const response = await client.send(command);
|
|
31
47
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface DeleteAppAssessmentCommandOutput extends DeleteAppAssessmentRes
|
|
|
27
27
|
* import { ResiliencehubClient, DeleteAppAssessmentCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
28
28
|
* // const { ResiliencehubClient, DeleteAppAssessmentCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
29
29
|
* const client = new ResiliencehubClient(config);
|
|
30
|
+
* const input = { // DeleteAppAssessmentRequest
|
|
31
|
+
* assessmentArn: "STRING_VALUE", // required
|
|
32
|
+
* clientToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
30
34
|
* const command = new DeleteAppAssessmentCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface DeleteAppCommandOutput extends DeleteAppResponse, __MetadataBea
|
|
|
27
27
|
* import { ResiliencehubClient, DeleteAppCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
28
28
|
* // const { ResiliencehubClient, DeleteAppCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
29
29
|
* const client = new ResiliencehubClient(config);
|
|
30
|
+
* const input = { // DeleteAppRequest
|
|
31
|
+
* appArn: "STRING_VALUE", // required
|
|
32
|
+
* forceDelete: true || false,
|
|
33
|
+
* clientToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
30
35
|
* const command = new DeleteAppCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -26,6 +26,18 @@ export interface DeleteAppInputSourceCommandOutput extends DeleteAppInputSourceR
|
|
|
26
26
|
* import { ResiliencehubClient, DeleteAppInputSourceCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
27
27
|
* // const { ResiliencehubClient, DeleteAppInputSourceCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
28
28
|
* const client = new ResiliencehubClient(config);
|
|
29
|
+
* const input = { // DeleteAppInputSourceRequest
|
|
30
|
+
* appArn: "STRING_VALUE", // required
|
|
31
|
+
* sourceArn: "STRING_VALUE",
|
|
32
|
+
* terraformSource: { // TerraformSource
|
|
33
|
+
* s3StateFileUrl: "STRING_VALUE", // required
|
|
34
|
+
* },
|
|
35
|
+
* clientToken: "STRING_VALUE",
|
|
36
|
+
* eksSourceClusterNamespace: { // EksSourceClusterNamespace
|
|
37
|
+
* eksClusterArn: "STRING_VALUE", // required
|
|
38
|
+
* namespace: "STRING_VALUE", // required
|
|
39
|
+
* },
|
|
40
|
+
* };
|
|
29
41
|
* const command = new DeleteAppInputSourceCommand(input);
|
|
30
42
|
* const response = await client.send(command);
|
|
31
43
|
* ```
|
|
@@ -36,6 +36,11 @@ export interface DeleteAppVersionAppComponentCommandOutput extends DeleteAppVers
|
|
|
36
36
|
* import { ResiliencehubClient, DeleteAppVersionAppComponentCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
37
37
|
* // const { ResiliencehubClient, DeleteAppVersionAppComponentCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
38
38
|
* const client = new ResiliencehubClient(config);
|
|
39
|
+
* const input = { // DeleteAppVersionAppComponentRequest
|
|
40
|
+
* appArn: "STRING_VALUE", // required
|
|
41
|
+
* id: "STRING_VALUE", // required
|
|
42
|
+
* clientToken: "STRING_VALUE",
|
|
43
|
+
* };
|
|
39
44
|
* const command = new DeleteAppVersionAppComponentCommand(input);
|
|
40
45
|
* const response = await client.send(command);
|
|
41
46
|
* ```
|
|
@@ -39,6 +39,21 @@ export interface DeleteAppVersionResourceCommandOutput extends DeleteAppVersionR
|
|
|
39
39
|
* import { ResiliencehubClient, DeleteAppVersionResourceCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
40
40
|
* // const { ResiliencehubClient, DeleteAppVersionResourceCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
41
41
|
* const client = new ResiliencehubClient(config);
|
|
42
|
+
* const input = { // DeleteAppVersionResourceRequest
|
|
43
|
+
* appArn: "STRING_VALUE", // required
|
|
44
|
+
* resourceName: "STRING_VALUE",
|
|
45
|
+
* logicalResourceId: { // LogicalResourceId
|
|
46
|
+
* identifier: "STRING_VALUE", // required
|
|
47
|
+
* logicalStackName: "STRING_VALUE",
|
|
48
|
+
* resourceGroupName: "STRING_VALUE",
|
|
49
|
+
* terraformSourceName: "STRING_VALUE",
|
|
50
|
+
* eksSourceName: "STRING_VALUE",
|
|
51
|
+
* },
|
|
52
|
+
* physicalResourceId: "STRING_VALUE",
|
|
53
|
+
* awsRegion: "STRING_VALUE",
|
|
54
|
+
* awsAccountId: "STRING_VALUE",
|
|
55
|
+
* clientToken: "STRING_VALUE",
|
|
56
|
+
* };
|
|
42
57
|
* const command = new DeleteAppVersionResourceCommand(input);
|
|
43
58
|
* const response = await client.send(command);
|
|
44
59
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface DeleteRecommendationTemplateCommandOutput extends DeleteRecomme
|
|
|
27
27
|
* import { ResiliencehubClient, DeleteRecommendationTemplateCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
28
28
|
* // const { ResiliencehubClient, DeleteRecommendationTemplateCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
29
29
|
* const client = new ResiliencehubClient(config);
|
|
30
|
+
* const input = { // DeleteRecommendationTemplateRequest
|
|
31
|
+
* recommendationTemplateArn: "STRING_VALUE", // required
|
|
32
|
+
* clientToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
30
34
|
* const command = new DeleteRecommendationTemplateCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DeleteResiliencyPolicyCommandOutput extends DeleteResiliencyPol
|
|
|
26
26
|
* import { ResiliencehubClient, DeleteResiliencyPolicyCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
27
27
|
* // const { ResiliencehubClient, DeleteResiliencyPolicyCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
28
28
|
* const client = new ResiliencehubClient(config);
|
|
29
|
+
* const input = { // DeleteResiliencyPolicyRequest
|
|
30
|
+
* policyArn: "STRING_VALUE", // required
|
|
31
|
+
* clientToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DeleteResiliencyPolicyCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeAppAssessmentCommandOutput extends DescribeAppAssessmen
|
|
|
26
26
|
* import { ResiliencehubClient, DescribeAppAssessmentCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
27
27
|
* // const { ResiliencehubClient, DescribeAppAssessmentCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
28
28
|
* const client = new ResiliencehubClient(config);
|
|
29
|
+
* const input = { // DescribeAppAssessmentRequest
|
|
30
|
+
* assessmentArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeAppAssessmentCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeAppCommandOutput extends DescribeAppResponse, __Metadat
|
|
|
26
26
|
* import { ResiliencehubClient, DescribeAppCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
27
27
|
* // const { ResiliencehubClient, DescribeAppCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
28
28
|
* const client = new ResiliencehubClient(config);
|
|
29
|
+
* const input = { // DescribeAppRequest
|
|
30
|
+
* appArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeAppCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface DescribeAppVersionAppComponentCommandOutput extends DescribeApp
|
|
|
26
26
|
* import { ResiliencehubClient, DescribeAppVersionAppComponentCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
27
27
|
* // const { ResiliencehubClient, DescribeAppVersionAppComponentCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
28
28
|
* const client = new ResiliencehubClient(config);
|
|
29
|
+
* const input = { // DescribeAppVersionAppComponentRequest
|
|
30
|
+
* appArn: "STRING_VALUE", // required
|
|
31
|
+
* appVersion: "STRING_VALUE", // required
|
|
32
|
+
* id: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new DescribeAppVersionAppComponentCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DescribeAppVersionCommandOutput extends DescribeAppVersionRespo
|
|
|
26
26
|
* import { ResiliencehubClient, DescribeAppVersionCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
27
27
|
* // const { ResiliencehubClient, DescribeAppVersionCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
28
28
|
* const client = new ResiliencehubClient(config);
|
|
29
|
+
* const input = { // DescribeAppVersionRequest
|
|
30
|
+
* appArn: "STRING_VALUE", // required
|
|
31
|
+
* appVersion: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DescribeAppVersionCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -46,6 +46,21 @@ export interface DescribeAppVersionResourceCommandOutput extends DescribeAppVers
|
|
|
46
46
|
* import { ResiliencehubClient, DescribeAppVersionResourceCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
47
47
|
* // const { ResiliencehubClient, DescribeAppVersionResourceCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
48
48
|
* const client = new ResiliencehubClient(config);
|
|
49
|
+
* const input = { // DescribeAppVersionResourceRequest
|
|
50
|
+
* appArn: "STRING_VALUE", // required
|
|
51
|
+
* appVersion: "STRING_VALUE", // required
|
|
52
|
+
* resourceName: "STRING_VALUE",
|
|
53
|
+
* logicalResourceId: { // LogicalResourceId
|
|
54
|
+
* identifier: "STRING_VALUE", // required
|
|
55
|
+
* logicalStackName: "STRING_VALUE",
|
|
56
|
+
* resourceGroupName: "STRING_VALUE",
|
|
57
|
+
* terraformSourceName: "STRING_VALUE",
|
|
58
|
+
* eksSourceName: "STRING_VALUE",
|
|
59
|
+
* },
|
|
60
|
+
* physicalResourceId: "STRING_VALUE",
|
|
61
|
+
* awsRegion: "STRING_VALUE",
|
|
62
|
+
* awsAccountId: "STRING_VALUE",
|
|
63
|
+
* };
|
|
49
64
|
* const command = new DescribeAppVersionResourceCommand(input);
|
|
50
65
|
* const response = await client.send(command);
|
|
51
66
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface DescribeAppVersionResourcesResolutionStatusCommandOutput extend
|
|
|
28
28
|
* import { ResiliencehubClient, DescribeAppVersionResourcesResolutionStatusCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
29
29
|
* // const { ResiliencehubClient, DescribeAppVersionResourcesResolutionStatusCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
30
30
|
* const client = new ResiliencehubClient(config);
|
|
31
|
+
* const input = { // DescribeAppVersionResourcesResolutionStatusRequest
|
|
32
|
+
* appArn: "STRING_VALUE", // required
|
|
33
|
+
* appVersion: "STRING_VALUE", // required
|
|
34
|
+
* resolutionId: "STRING_VALUE",
|
|
35
|
+
* };
|
|
31
36
|
* const command = new DescribeAppVersionResourcesResolutionStatusCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DescribeAppVersionTemplateCommandOutput extends DescribeAppVers
|
|
|
26
26
|
* import { ResiliencehubClient, DescribeAppVersionTemplateCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
27
27
|
* // const { ResiliencehubClient, DescribeAppVersionTemplateCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
28
28
|
* const client = new ResiliencehubClient(config);
|
|
29
|
+
* const input = { // DescribeAppVersionTemplateRequest
|
|
30
|
+
* appArn: "STRING_VALUE", // required
|
|
31
|
+
* appVersion: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DescribeAppVersionTemplateCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -33,6 +33,9 @@ export interface DescribeDraftAppVersionResourcesImportStatusCommandOutput exten
|
|
|
33
33
|
* import { ResiliencehubClient, DescribeDraftAppVersionResourcesImportStatusCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
34
34
|
* // const { ResiliencehubClient, DescribeDraftAppVersionResourcesImportStatusCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
35
35
|
* const client = new ResiliencehubClient(config);
|
|
36
|
+
* const input = { // DescribeDraftAppVersionResourcesImportStatusRequest
|
|
37
|
+
* appArn: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
36
39
|
* const command = new DescribeDraftAppVersionResourcesImportStatusCommand(input);
|
|
37
40
|
* const response = await client.send(command);
|
|
38
41
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface DescribeResiliencyPolicyCommandOutput extends DescribeResilienc
|
|
|
28
28
|
* import { ResiliencehubClient, DescribeResiliencyPolicyCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
29
29
|
* // const { ResiliencehubClient, DescribeResiliencyPolicyCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
30
30
|
* const client = new ResiliencehubClient(config);
|
|
31
|
+
* const input = { // DescribeResiliencyPolicyRequest
|
|
32
|
+
* policyArn: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new DescribeResiliencyPolicyCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -27,6 +27,26 @@ export interface ImportResourcesToDraftAppVersionCommandOutput extends ImportRes
|
|
|
27
27
|
* import { ResiliencehubClient, ImportResourcesToDraftAppVersionCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
28
28
|
* // const { ResiliencehubClient, ImportResourcesToDraftAppVersionCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
29
29
|
* const client = new ResiliencehubClient(config);
|
|
30
|
+
* const input = { // ImportResourcesToDraftAppVersionRequest
|
|
31
|
+
* appArn: "STRING_VALUE", // required
|
|
32
|
+
* sourceArns: [ // ArnList
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* terraformSources: [ // TerraformSourceList
|
|
36
|
+
* { // TerraformSource
|
|
37
|
+
* s3StateFileUrl: "STRING_VALUE", // required
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* importStrategy: "STRING_VALUE",
|
|
41
|
+
* eksSources: [ // EksSourceList
|
|
42
|
+
* { // EksSource
|
|
43
|
+
* eksClusterArn: "STRING_VALUE", // required
|
|
44
|
+
* namespaces: [ // EksNamespaceList // required
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* };
|
|
30
50
|
* const command = new ImportResourcesToDraftAppVersionCommand(input);
|
|
31
51
|
* const response = await client.send(command);
|
|
32
52
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListAlarmRecommendationsCommandOutput extends ListAlarmRecommen
|
|
|
26
26
|
* import { ResiliencehubClient, ListAlarmRecommendationsCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
27
27
|
* // const { ResiliencehubClient, ListAlarmRecommendationsCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
28
28
|
* const client = new ResiliencehubClient(config);
|
|
29
|
+
* const input = { // ListAlarmRecommendationsRequest
|
|
30
|
+
* assessmentArn: "STRING_VALUE", // required
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListAlarmRecommendationsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -27,6 +27,18 @@ export interface ListAppAssessmentsCommandOutput extends ListAppAssessmentsRespo
|
|
|
27
27
|
* import { ResiliencehubClient, ListAppAssessmentsCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
28
28
|
* // const { ResiliencehubClient, ListAppAssessmentsCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
29
29
|
* const client = new ResiliencehubClient(config);
|
|
30
|
+
* const input = { // ListAppAssessmentsRequest
|
|
31
|
+
* appArn: "STRING_VALUE",
|
|
32
|
+
* assessmentName: "STRING_VALUE",
|
|
33
|
+
* assessmentStatus: [ // AssessmentStatusList
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* complianceStatus: "STRING_VALUE",
|
|
37
|
+
* invoker: "STRING_VALUE",
|
|
38
|
+
* reverseOrder: true || false,
|
|
39
|
+
* nextToken: "STRING_VALUE",
|
|
40
|
+
* maxResults: Number("int"),
|
|
41
|
+
* };
|
|
30
42
|
* const command = new ListAppAssessmentsCommand(input);
|
|
31
43
|
* const response = await client.send(command);
|
|
32
44
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListAppComponentCompliancesCommandOutput extends ListAppCompone
|
|
|
26
26
|
* import { ResiliencehubClient, ListAppComponentCompliancesCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
27
27
|
* // const { ResiliencehubClient, ListAppComponentCompliancesCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
28
28
|
* const client = new ResiliencehubClient(config);
|
|
29
|
+
* const input = { // ListAppComponentCompliancesRequest
|
|
30
|
+
* nextToken: "STRING_VALUE",
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* assessmentArn: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListAppComponentCompliancesCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListAppComponentRecommendationsCommandOutput extends ListAppCom
|
|
|
26
26
|
* import { ResiliencehubClient, ListAppComponentRecommendationsCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
27
27
|
* // const { ResiliencehubClient, ListAppComponentRecommendationsCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
28
28
|
* const client = new ResiliencehubClient(config);
|
|
29
|
+
* const input = { // ListAppComponentRecommendationsRequest
|
|
30
|
+
* assessmentArn: "STRING_VALUE", // required
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListAppComponentRecommendationsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface ListAppInputSourcesCommandOutput extends ListAppInputSourcesRes
|
|
|
28
28
|
* import { ResiliencehubClient, ListAppInputSourcesCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
29
29
|
* // const { ResiliencehubClient, ListAppInputSourcesCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
30
30
|
* const client = new ResiliencehubClient(config);
|
|
31
|
+
* const input = { // ListAppInputSourcesRequest
|
|
32
|
+
* appArn: "STRING_VALUE", // required
|
|
33
|
+
* appVersion: "STRING_VALUE", // required
|
|
34
|
+
* nextToken: "STRING_VALUE",
|
|
35
|
+
* maxResults: Number("int"),
|
|
36
|
+
* };
|
|
31
37
|
* const command = new ListAppInputSourcesCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface ListAppVersionAppComponentsCommandOutput extends ListAppVersion
|
|
|
26
26
|
* import { ResiliencehubClient, ListAppVersionAppComponentsCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
27
27
|
* // const { ResiliencehubClient, ListAppVersionAppComponentsCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
28
28
|
* const client = new ResiliencehubClient(config);
|
|
29
|
+
* const input = { // ListAppVersionAppComponentsRequest
|
|
30
|
+
* appArn: "STRING_VALUE", // required
|
|
31
|
+
* appVersion: "STRING_VALUE", // required
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* maxResults: Number("int"),
|
|
34
|
+
* };
|
|
29
35
|
* const command = new ListAppVersionAppComponentsCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface ListAppVersionResourceMappingsCommandOutput extends ListAppVers
|
|
|
28
28
|
* import { ResiliencehubClient, ListAppVersionResourceMappingsCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
29
29
|
* // const { ResiliencehubClient, ListAppVersionResourceMappingsCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
30
30
|
* const client = new ResiliencehubClient(config);
|
|
31
|
+
* const input = { // ListAppVersionResourceMappingsRequest
|
|
32
|
+
* appArn: "STRING_VALUE", // required
|
|
33
|
+
* appVersion: "STRING_VALUE", // required
|
|
34
|
+
* nextToken: "STRING_VALUE",
|
|
35
|
+
* maxResults: Number("int"),
|
|
36
|
+
* };
|
|
31
37
|
* const command = new ListAppVersionResourceMappingsCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface ListAppVersionResourcesCommandOutput extends ListAppVersionReso
|
|
|
26
26
|
* import { ResiliencehubClient, ListAppVersionResourcesCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
27
27
|
* // const { ResiliencehubClient, ListAppVersionResourcesCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
28
28
|
* const client = new ResiliencehubClient(config);
|
|
29
|
+
* const input = { // ListAppVersionResourcesRequest
|
|
30
|
+
* appArn: "STRING_VALUE", // required
|
|
31
|
+
* appVersion: "STRING_VALUE", // required
|
|
32
|
+
* resolutionId: "STRING_VALUE",
|
|
33
|
+
* nextToken: "STRING_VALUE",
|
|
34
|
+
* maxResults: Number("int"),
|
|
35
|
+
* };
|
|
29
36
|
* const command = new ListAppVersionResourcesCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListAppVersionsCommandOutput extends ListAppVersionsResponse, _
|
|
|
26
26
|
* import { ResiliencehubClient, ListAppVersionsCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
27
27
|
* // const { ResiliencehubClient, ListAppVersionsCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
28
28
|
* const client = new ResiliencehubClient(config);
|
|
29
|
+
* const input = { // ListAppVersionsRequest
|
|
30
|
+
* appArn: "STRING_VALUE", // required
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListAppVersionsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -35,6 +35,12 @@ export interface ListAppsCommandOutput extends ListAppsResponse, __MetadataBeare
|
|
|
35
35
|
* import { ResiliencehubClient, ListAppsCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
36
36
|
* // const { ResiliencehubClient, ListAppsCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
37
37
|
* const client = new ResiliencehubClient(config);
|
|
38
|
+
* const input = { // ListAppsRequest
|
|
39
|
+
* nextToken: "STRING_VALUE",
|
|
40
|
+
* maxResults: Number("int"),
|
|
41
|
+
* name: "STRING_VALUE",
|
|
42
|
+
* appArn: "STRING_VALUE",
|
|
43
|
+
* };
|
|
38
44
|
* const command = new ListAppsCommand(input);
|
|
39
45
|
* const response = await client.send(command);
|
|
40
46
|
* ```
|
|
@@ -26,6 +26,17 @@ export interface ListRecommendationTemplatesCommandOutput extends ListRecommenda
|
|
|
26
26
|
* import { ResiliencehubClient, ListRecommendationTemplatesCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
27
27
|
* // const { ResiliencehubClient, ListRecommendationTemplatesCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
28
28
|
* const client = new ResiliencehubClient(config);
|
|
29
|
+
* const input = { // ListRecommendationTemplatesRequest
|
|
30
|
+
* assessmentArn: "STRING_VALUE", // required
|
|
31
|
+
* reverseOrder: true || false,
|
|
32
|
+
* status: [ // RecommendationTemplateStatusList
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* recommendationTemplateArn: "STRING_VALUE",
|
|
36
|
+
* name: "STRING_VALUE",
|
|
37
|
+
* nextToken: "STRING_VALUE",
|
|
38
|
+
* maxResults: Number("int"),
|
|
39
|
+
* };
|
|
29
40
|
* const command = new ListRecommendationTemplatesCommand(input);
|
|
30
41
|
* const response = await client.send(command);
|
|
31
42
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListResiliencyPoliciesCommandOutput extends ListResiliencyPolic
|
|
|
26
26
|
* import { ResiliencehubClient, ListResiliencyPoliciesCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
27
27
|
* // const { ResiliencehubClient, ListResiliencyPoliciesCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
28
28
|
* const client = new ResiliencehubClient(config);
|
|
29
|
+
* const input = { // ListResiliencyPoliciesRequest
|
|
30
|
+
* policyName: "STRING_VALUE",
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListResiliencyPoliciesCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface ListSopRecommendationsCommandOutput extends ListSopRecommendati
|
|
|
27
27
|
* import { ResiliencehubClient, ListSopRecommendationsCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
28
28
|
* // const { ResiliencehubClient, ListSopRecommendationsCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
29
29
|
* const client = new ResiliencehubClient(config);
|
|
30
|
+
* const input = { // ListSopRecommendationsRequest
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* assessmentArn: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
30
35
|
* const command = new ListSopRecommendationsCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListSuggestedResiliencyPoliciesCommandOutput extends ListSugges
|
|
|
26
26
|
* import { ResiliencehubClient, ListSuggestedResiliencyPoliciesCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
27
27
|
* // const { ResiliencehubClient, ListSuggestedResiliencyPoliciesCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
28
28
|
* const client = new ResiliencehubClient(config);
|
|
29
|
+
* const input = { // ListSuggestedResiliencyPoliciesRequest
|
|
30
|
+
* nextToken: "STRING_VALUE",
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListSuggestedResiliencyPoliciesCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { ResiliencehubClient, ListTagsForResourceCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
27
27
|
* // const { ResiliencehubClient, ListTagsForResourceCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
28
28
|
* const client = new ResiliencehubClient(config);
|
|
29
|
+
* const input = { // ListTagsForResourceRequest
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListTestRecommendationsCommandOutput extends ListTestRecommenda
|
|
|
26
26
|
* import { ResiliencehubClient, ListTestRecommendationsCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
27
27
|
* // const { ResiliencehubClient, ListTestRecommendationsCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
28
28
|
* const client = new ResiliencehubClient(config);
|
|
29
|
+
* const input = { // ListTestRecommendationsRequest
|
|
30
|
+
* nextToken: "STRING_VALUE",
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* assessmentArn: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListTestRecommendationsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -28,6 +28,13 @@ export interface ListUnsupportedAppVersionResourcesCommandOutput extends ListUns
|
|
|
28
28
|
* import { ResiliencehubClient, ListUnsupportedAppVersionResourcesCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
29
29
|
* // const { ResiliencehubClient, ListUnsupportedAppVersionResourcesCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
30
30
|
* const client = new ResiliencehubClient(config);
|
|
31
|
+
* const input = { // ListUnsupportedAppVersionResourcesRequest
|
|
32
|
+
* appArn: "STRING_VALUE", // required
|
|
33
|
+
* appVersion: "STRING_VALUE", // required
|
|
34
|
+
* resolutionId: "STRING_VALUE",
|
|
35
|
+
* nextToken: "STRING_VALUE",
|
|
36
|
+
* maxResults: Number("int"),
|
|
37
|
+
* };
|
|
31
38
|
* const command = new ListUnsupportedAppVersionResourcesCommand(input);
|
|
32
39
|
* const response = await client.send(command);
|
|
33
40
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface PublishAppVersionCommandOutput extends PublishAppVersionRespons
|
|
|
26
26
|
* import { ResiliencehubClient, PublishAppVersionCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
27
27
|
* // const { ResiliencehubClient, PublishAppVersionCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
28
28
|
* const client = new ResiliencehubClient(config);
|
|
29
|
+
* const input = { // PublishAppVersionRequest
|
|
30
|
+
* appArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new PublishAppVersionCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface PutDraftAppVersionTemplateCommandOutput extends PutDraftAppVers
|
|
|
26
26
|
* import { ResiliencehubClient, PutDraftAppVersionTemplateCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
27
27
|
* // const { ResiliencehubClient, PutDraftAppVersionTemplateCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
28
28
|
* const client = new ResiliencehubClient(config);
|
|
29
|
+
* const input = { // PutDraftAppVersionTemplateRequest
|
|
30
|
+
* appArn: "STRING_VALUE", // required
|
|
31
|
+
* appTemplateBody: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new PutDraftAppVersionTemplateCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,27 @@ export interface RemoveDraftAppVersionResourceMappingsCommandOutput extends Remo
|
|
|
26
26
|
* import { ResiliencehubClient, RemoveDraftAppVersionResourceMappingsCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
27
27
|
* // const { ResiliencehubClient, RemoveDraftAppVersionResourceMappingsCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
28
28
|
* const client = new ResiliencehubClient(config);
|
|
29
|
+
* const input = { // RemoveDraftAppVersionResourceMappingsRequest
|
|
30
|
+
* appArn: "STRING_VALUE", // required
|
|
31
|
+
* resourceNames: [ // EntityNameList
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* logicalStackNames: [ // String255List
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* appRegistryAppNames: [
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* resourceGroupNames: [
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* terraformSourceNames: [
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* eksSourceNames: [
|
|
47
|
+
* "STRING_VALUE",
|
|
48
|
+
* ],
|
|
49
|
+
* };
|
|
29
50
|
* const command = new RemoveDraftAppVersionResourceMappingsCommand(input);
|
|
30
51
|
* const response = await client.send(command);
|
|
31
52
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ResolveAppVersionResourcesCommandOutput extends ResolveAppVersi
|
|
|
26
26
|
* import { ResiliencehubClient, ResolveAppVersionResourcesCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
27
27
|
* // const { ResiliencehubClient, ResolveAppVersionResourcesCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
28
28
|
* const client = new ResiliencehubClient(config);
|
|
29
|
+
* const input = { // ResolveAppVersionResourcesRequest
|
|
30
|
+
* appArn: "STRING_VALUE", // required
|
|
31
|
+
* appVersion: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ResolveAppVersionResourcesCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,15 @@ export interface StartAppAssessmentCommandOutput extends StartAppAssessmentRespo
|
|
|
26
26
|
* import { ResiliencehubClient, StartAppAssessmentCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
27
27
|
* // const { ResiliencehubClient, StartAppAssessmentCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
28
28
|
* const client = new ResiliencehubClient(config);
|
|
29
|
+
* const input = { // StartAppAssessmentRequest
|
|
30
|
+
* appArn: "STRING_VALUE", // required
|
|
31
|
+
* appVersion: "STRING_VALUE", // required
|
|
32
|
+
* assessmentName: "STRING_VALUE", // required
|
|
33
|
+
* clientToken: "STRING_VALUE",
|
|
34
|
+
* tags: { // TagMap
|
|
35
|
+
* "<keys>": "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* };
|
|
29
38
|
* const command = new StartAppAssessmentCommand(input);
|
|
30
39
|
* const response = await client.send(command);
|
|
31
40
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
26
26
|
* import { ResiliencehubClient, TagResourceCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
27
27
|
* // const { ResiliencehubClient, TagResourceCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
28
28
|
* const client = new ResiliencehubClient(config);
|
|
29
|
+
* const input = { // TagResourceRequest
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* tags: { // TagMap // required
|
|
32
|
+
* "<keys>": "STRING_VALUE",
|
|
33
|
+
* },
|
|
34
|
+
* };
|
|
29
35
|
* const command = new TagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { ResiliencehubClient, UntagResourceCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
27
27
|
* // const { ResiliencehubClient, UntagResourceCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
28
28
|
* const client = new ResiliencehubClient(config);
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* tagKeys: [ // TagKeyList // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface UpdateAppCommandOutput extends UpdateAppResponse, __MetadataBea
|
|
|
26
26
|
* import { ResiliencehubClient, UpdateAppCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
27
27
|
* // const { ResiliencehubClient, UpdateAppCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
28
28
|
* const client = new ResiliencehubClient(config);
|
|
29
|
+
* const input = { // UpdateAppRequest
|
|
30
|
+
* appArn: "STRING_VALUE", // required
|
|
31
|
+
* description: "STRING_VALUE",
|
|
32
|
+
* policyArn: "STRING_VALUE",
|
|
33
|
+
* clearResiliencyPolicyArn: true || false,
|
|
34
|
+
* assessmentSchedule: "STRING_VALUE",
|
|
35
|
+
* };
|
|
29
36
|
* const command = new UpdateAppCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -29,6 +29,17 @@ export interface UpdateAppVersionAppComponentCommandOutput extends UpdateAppVers
|
|
|
29
29
|
* import { ResiliencehubClient, UpdateAppVersionAppComponentCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
30
30
|
* // const { ResiliencehubClient, UpdateAppVersionAppComponentCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
31
31
|
* const client = new ResiliencehubClient(config);
|
|
32
|
+
* const input = { // UpdateAppVersionAppComponentRequest
|
|
33
|
+
* appArn: "STRING_VALUE", // required
|
|
34
|
+
* id: "STRING_VALUE", // required
|
|
35
|
+
* name: "STRING_VALUE",
|
|
36
|
+
* type: "STRING_VALUE",
|
|
37
|
+
* additionalInfo: { // AdditionalInfoMap
|
|
38
|
+
* "<keys>": [ // AdditionalInfoValueList
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* },
|
|
42
|
+
* };
|
|
32
43
|
* const command = new UpdateAppVersionAppComponentCommand(input);
|
|
33
44
|
* const response = await client.send(command);
|
|
34
45
|
* ```
|
|
@@ -31,6 +31,14 @@ export interface UpdateAppVersionCommandOutput extends UpdateAppVersionResponse,
|
|
|
31
31
|
* import { ResiliencehubClient, UpdateAppVersionCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
32
32
|
* // const { ResiliencehubClient, UpdateAppVersionCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
33
33
|
* const client = new ResiliencehubClient(config);
|
|
34
|
+
* const input = { // UpdateAppVersionRequest
|
|
35
|
+
* appArn: "STRING_VALUE", // required
|
|
36
|
+
* additionalInfo: { // AdditionalInfoMap
|
|
37
|
+
* "<keys>": [ // AdditionalInfoValueList
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* },
|
|
41
|
+
* };
|
|
34
42
|
* const command = new UpdateAppVersionCommand(input);
|
|
35
43
|
* const response = await client.send(command);
|
|
36
44
|
* ```
|
|
@@ -40,6 +40,30 @@ export interface UpdateAppVersionResourceCommandOutput extends UpdateAppVersionR
|
|
|
40
40
|
* import { ResiliencehubClient, UpdateAppVersionResourceCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
41
41
|
* // const { ResiliencehubClient, UpdateAppVersionResourceCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
42
42
|
* const client = new ResiliencehubClient(config);
|
|
43
|
+
* const input = { // UpdateAppVersionResourceRequest
|
|
44
|
+
* appArn: "STRING_VALUE", // required
|
|
45
|
+
* resourceName: "STRING_VALUE",
|
|
46
|
+
* logicalResourceId: { // LogicalResourceId
|
|
47
|
+
* identifier: "STRING_VALUE", // required
|
|
48
|
+
* logicalStackName: "STRING_VALUE",
|
|
49
|
+
* resourceGroupName: "STRING_VALUE",
|
|
50
|
+
* terraformSourceName: "STRING_VALUE",
|
|
51
|
+
* eksSourceName: "STRING_VALUE",
|
|
52
|
+
* },
|
|
53
|
+
* physicalResourceId: "STRING_VALUE",
|
|
54
|
+
* awsRegion: "STRING_VALUE",
|
|
55
|
+
* awsAccountId: "STRING_VALUE",
|
|
56
|
+
* resourceType: "STRING_VALUE",
|
|
57
|
+
* appComponents: [ // AppComponentNameList
|
|
58
|
+
* "STRING_VALUE",
|
|
59
|
+
* ],
|
|
60
|
+
* additionalInfo: { // AdditionalInfoMap
|
|
61
|
+
* "<keys>": [ // AdditionalInfoValueList
|
|
62
|
+
* "STRING_VALUE",
|
|
63
|
+
* ],
|
|
64
|
+
* },
|
|
65
|
+
* excluded: true || false,
|
|
66
|
+
* };
|
|
43
67
|
* const command = new UpdateAppVersionResourceCommand(input);
|
|
44
68
|
* const response = await client.send(command);
|
|
45
69
|
* ```
|
|
@@ -26,6 +26,19 @@ export interface UpdateResiliencyPolicyCommandOutput extends UpdateResiliencyPol
|
|
|
26
26
|
* import { ResiliencehubClient, UpdateResiliencyPolicyCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
27
27
|
* // const { ResiliencehubClient, UpdateResiliencyPolicyCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
28
28
|
* const client = new ResiliencehubClient(config);
|
|
29
|
+
* const input = { // UpdateResiliencyPolicyRequest
|
|
30
|
+
* policyArn: "STRING_VALUE", // required
|
|
31
|
+
* policyName: "STRING_VALUE",
|
|
32
|
+
* policyDescription: "STRING_VALUE",
|
|
33
|
+
* dataLocationConstraint: "STRING_VALUE",
|
|
34
|
+
* tier: "STRING_VALUE",
|
|
35
|
+
* policy: { // DisruptionPolicy
|
|
36
|
+
* "<keys>": { // FailurePolicy
|
|
37
|
+
* rtoInSecs: Number("int"), // required
|
|
38
|
+
* rpoInSecs: Number("int"), // required
|
|
39
|
+
* },
|
|
40
|
+
* },
|
|
41
|
+
* };
|
|
29
42
|
* const command = new UpdateResiliencyPolicyCommand(input);
|
|
30
43
|
* const response = await client.send(command);
|
|
31
44
|
* ```
|
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.301.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,9 +21,9 @@
|
|
|
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/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2"
|