@aws-sdk/client-resiliencehub 3.928.0 → 3.929.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/index.js +2713 -2951
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/ResiliencehubClient.js +2 -0
- package/dist-es/commands/AcceptResourceGroupingRecommendationsCommand.js +3 -9
- package/dist-es/commands/AddDraftAppVersionResourceMappingsCommand.js +3 -9
- package/dist-es/commands/BatchUpdateRecommendationStatusCommand.js +3 -9
- package/dist-es/commands/CreateAppCommand.js +3 -10
- package/dist-es/commands/CreateAppVersionAppComponentCommand.js +3 -9
- package/dist-es/commands/CreateAppVersionResourceCommand.js +3 -9
- package/dist-es/commands/CreateRecommendationTemplateCommand.js +3 -10
- package/dist-es/commands/CreateResiliencyPolicyCommand.js +3 -10
- package/dist-es/commands/DeleteAppAssessmentCommand.js +3 -9
- package/dist-es/commands/DeleteAppCommand.js +3 -9
- package/dist-es/commands/DeleteAppInputSourceCommand.js +3 -9
- package/dist-es/commands/DeleteAppVersionAppComponentCommand.js +3 -9
- package/dist-es/commands/DeleteAppVersionResourceCommand.js +3 -9
- package/dist-es/commands/DeleteRecommendationTemplateCommand.js +3 -9
- package/dist-es/commands/DeleteResiliencyPolicyCommand.js +3 -9
- package/dist-es/commands/DescribeAppAssessmentCommand.js +3 -10
- package/dist-es/commands/DescribeAppCommand.js +3 -10
- package/dist-es/commands/DescribeAppVersionAppComponentCommand.js +3 -9
- package/dist-es/commands/DescribeAppVersionCommand.js +3 -9
- package/dist-es/commands/DescribeAppVersionResourceCommand.js +3 -9
- package/dist-es/commands/DescribeAppVersionResourcesResolutionStatusCommand.js +3 -9
- package/dist-es/commands/DescribeAppVersionTemplateCommand.js +3 -9
- package/dist-es/commands/DescribeDraftAppVersionResourcesImportStatusCommand.js +3 -9
- package/dist-es/commands/DescribeMetricsExportCommand.js +3 -9
- package/dist-es/commands/DescribeResiliencyPolicyCommand.js +3 -10
- package/dist-es/commands/DescribeResourceGroupingRecommendationTaskCommand.js +3 -9
- package/dist-es/commands/ImportResourcesToDraftAppVersionCommand.js +3 -9
- package/dist-es/commands/ListAlarmRecommendationsCommand.js +3 -9
- package/dist-es/commands/ListAppAssessmentComplianceDriftsCommand.js +3 -9
- package/dist-es/commands/ListAppAssessmentResourceDriftsCommand.js +3 -9
- package/dist-es/commands/ListAppAssessmentsCommand.js +3 -9
- package/dist-es/commands/ListAppComponentCompliancesCommand.js +3 -9
- package/dist-es/commands/ListAppComponentRecommendationsCommand.js +3 -9
- package/dist-es/commands/ListAppInputSourcesCommand.js +3 -9
- package/dist-es/commands/ListAppVersionAppComponentsCommand.js +3 -9
- package/dist-es/commands/ListAppVersionResourceMappingsCommand.js +3 -9
- package/dist-es/commands/ListAppVersionResourcesCommand.js +3 -9
- package/dist-es/commands/ListAppVersionsCommand.js +3 -9
- package/dist-es/commands/ListAppsCommand.js +3 -9
- package/dist-es/commands/ListMetricsCommand.js +3 -9
- package/dist-es/commands/ListRecommendationTemplatesCommand.js +3 -10
- package/dist-es/commands/ListResiliencyPoliciesCommand.js +3 -10
- package/dist-es/commands/ListResourceGroupingRecommendationsCommand.js +3 -9
- package/dist-es/commands/ListSopRecommendationsCommand.js +3 -9
- package/dist-es/commands/ListSuggestedResiliencyPoliciesCommand.js +3 -10
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -10
- package/dist-es/commands/ListTestRecommendationsCommand.js +3 -9
- package/dist-es/commands/ListUnsupportedAppVersionResourcesCommand.js +3 -9
- package/dist-es/commands/PublishAppVersionCommand.js +3 -9
- package/dist-es/commands/PutDraftAppVersionTemplateCommand.js +3 -9
- package/dist-es/commands/RejectResourceGroupingRecommendationsCommand.js +3 -9
- package/dist-es/commands/RemoveDraftAppVersionResourceMappingsCommand.js +3 -9
- package/dist-es/commands/ResolveAppVersionResourcesCommand.js +3 -9
- package/dist-es/commands/StartAppAssessmentCommand.js +3 -10
- package/dist-es/commands/StartMetricsExportCommand.js +3 -9
- package/dist-es/commands/StartResourceGroupingRecommendationTaskCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -10
- package/dist-es/commands/UntagResourceCommand.js +3 -10
- package/dist-es/commands/UpdateAppCommand.js +3 -10
- package/dist-es/commands/UpdateAppVersionAppComponentCommand.js +3 -9
- package/dist-es/commands/UpdateAppVersionCommand.js +3 -9
- package/dist-es/commands/UpdateAppVersionResourceCommand.js +3 -9
- package/dist-es/commands/UpdateResiliencyPolicyCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -102
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +2596 -0
- package/dist-types/ResiliencehubClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -92
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +314 -0
- package/dist-types/ts3.4/ResiliencehubClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -67
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +320 -0
- package/package.json +2 -3
- package/dist-es/protocols/Aws_restJson1.js +0 -2380
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -569
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -761
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { ListTagsForResource } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class ListTagsForResourceCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AwsResilienceHub", "ListTagsForResource", {})
|
|
18
13
|
.n("ResiliencehubClient", "ListTagsForResourceCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_ListTagsForResourceCommand)
|
|
21
|
-
.de(de_ListTagsForResourceCommand)
|
|
14
|
+
.sc(ListTagsForResource)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListTestRecommendations } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListTestRecommendationsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AwsResilienceHub", "ListTestRecommendations", {})
|
|
17
13
|
.n("ResiliencehubClient", "ListTestRecommendationsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListTestRecommendationsCommand)
|
|
20
|
-
.de(de_ListTestRecommendationsCommand)
|
|
14
|
+
.sc(ListTestRecommendations)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListUnsupportedAppVersionResources } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListUnsupportedAppVersionResourcesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AwsResilienceHub", "ListUnsupportedAppVersionResources", {})
|
|
17
13
|
.n("ResiliencehubClient", "ListUnsupportedAppVersionResourcesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListUnsupportedAppVersionResourcesCommand)
|
|
20
|
-
.de(de_ListUnsupportedAppVersionResourcesCommand)
|
|
14
|
+
.sc(ListUnsupportedAppVersionResources)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { PublishAppVersion } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class PublishAppVersionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AwsResilienceHub", "PublishAppVersion", {})
|
|
17
13
|
.n("ResiliencehubClient", "PublishAppVersionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_PublishAppVersionCommand)
|
|
20
|
-
.de(de_PublishAppVersionCommand)
|
|
14
|
+
.sc(PublishAppVersion)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { PutDraftAppVersionTemplate } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class PutDraftAppVersionTemplateCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AwsResilienceHub", "PutDraftAppVersionTemplate", {})
|
|
17
13
|
.n("ResiliencehubClient", "PutDraftAppVersionTemplateCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_PutDraftAppVersionTemplateCommand)
|
|
20
|
-
.de(de_PutDraftAppVersionTemplateCommand)
|
|
14
|
+
.sc(PutDraftAppVersionTemplate)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { RejectResourceGroupingRecommendations } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RejectResourceGroupingRecommendationsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AwsResilienceHub", "RejectResourceGroupingRecommendations", {})
|
|
17
13
|
.n("ResiliencehubClient", "RejectResourceGroupingRecommendationsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RejectResourceGroupingRecommendationsCommand)
|
|
20
|
-
.de(de_RejectResourceGroupingRecommendationsCommand)
|
|
14
|
+
.sc(RejectResourceGroupingRecommendations)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { RemoveDraftAppVersionResourceMappings } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RemoveDraftAppVersionResourceMappingsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AwsResilienceHub", "RemoveDraftAppVersionResourceMappings", {})
|
|
17
13
|
.n("ResiliencehubClient", "RemoveDraftAppVersionResourceMappingsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RemoveDraftAppVersionResourceMappingsCommand)
|
|
20
|
-
.de(de_RemoveDraftAppVersionResourceMappingsCommand)
|
|
14
|
+
.sc(RemoveDraftAppVersionResourceMappings)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ResolveAppVersionResources } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ResolveAppVersionResourcesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AwsResilienceHub", "ResolveAppVersionResources", {})
|
|
17
13
|
.n("ResiliencehubClient", "ResolveAppVersionResourcesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ResolveAppVersionResourcesCommand)
|
|
20
|
-
.de(de_ResolveAppVersionResourcesCommand)
|
|
14
|
+
.sc(ResolveAppVersionResources)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_StartAppAssessmentCommand, se_StartAppAssessmentCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { StartAppAssessment } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class StartAppAssessmentCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AwsResilienceHub", "StartAppAssessment", {})
|
|
18
13
|
.n("ResiliencehubClient", "StartAppAssessmentCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_StartAppAssessmentCommand)
|
|
21
|
-
.de(de_StartAppAssessmentCommand)
|
|
14
|
+
.sc(StartAppAssessment)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StartMetricsExport } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StartMetricsExportCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AwsResilienceHub", "StartMetricsExport", {})
|
|
17
13
|
.n("ResiliencehubClient", "StartMetricsExportCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StartMetricsExportCommand)
|
|
20
|
-
.de(de_StartMetricsExportCommand)
|
|
14
|
+
.sc(StartMetricsExport)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StartResourceGroupingRecommendationTask } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StartResourceGroupingRecommendationTaskCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AwsResilienceHub", "StartResourceGroupingRecommendationTask", {})
|
|
17
13
|
.n("ResiliencehubClient", "StartResourceGroupingRecommendationTaskCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StartResourceGroupingRecommendationTaskCommand)
|
|
20
|
-
.de(de_StartResourceGroupingRecommendationTaskCommand)
|
|
14
|
+
.sc(StartResourceGroupingRecommendationTask)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class TagResourceCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AwsResilienceHub", "TagResource", {})
|
|
18
13
|
.n("ResiliencehubClient", "TagResourceCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_TagResourceCommand)
|
|
21
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UntagResourceCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AwsResilienceHub", "UntagResource", {})
|
|
18
13
|
.n("ResiliencehubClient", "UntagResourceCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UntagResourceCommand)
|
|
21
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateAppCommand, se_UpdateAppCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateApp } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateAppCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AwsResilienceHub", "UpdateApp", {})
|
|
18
13
|
.n("ResiliencehubClient", "UpdateAppCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateAppCommand)
|
|
21
|
-
.de(de_UpdateAppCommand)
|
|
14
|
+
.sc(UpdateApp)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateAppVersionAppComponent } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateAppVersionAppComponentCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AwsResilienceHub", "UpdateAppVersionAppComponent", {})
|
|
17
13
|
.n("ResiliencehubClient", "UpdateAppVersionAppComponentCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateAppVersionAppComponentCommand)
|
|
20
|
-
.de(de_UpdateAppVersionAppComponentCommand)
|
|
14
|
+
.sc(UpdateAppVersionAppComponent)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateAppVersion } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateAppVersionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AwsResilienceHub", "UpdateAppVersion", {})
|
|
17
13
|
.n("ResiliencehubClient", "UpdateAppVersionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateAppVersionCommand)
|
|
20
|
-
.de(de_UpdateAppVersionCommand)
|
|
14
|
+
.sc(UpdateAppVersion)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateAppVersionResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateAppVersionResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AwsResilienceHub", "UpdateAppVersionResource", {})
|
|
17
13
|
.n("ResiliencehubClient", "UpdateAppVersionResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateAppVersionResourceCommand)
|
|
20
|
-
.de(de_UpdateAppVersionResourceCommand)
|
|
14
|
+
.sc(UpdateAppVersionResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateResiliencyPolicyCommand, se_UpdateResiliencyPolicyCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateResiliencyPolicy } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateResiliencyPolicyCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AwsResilienceHub", "UpdateResiliencyPolicy", {})
|
|
18
13
|
.n("ResiliencehubClient", "UpdateResiliencyPolicyCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateResiliencyPolicyCommand)
|
|
21
|
-
.de(de_UpdateResiliencyPolicyCommand)
|
|
14
|
+
.sc(UpdateResiliencyPolicy)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { ResiliencehubServiceException as __BaseException } from "./ResiliencehubServiceException";
|
|
3
2
|
export class AccessDeniedException extends __BaseException {
|
|
4
3
|
name = "AccessDeniedException";
|
|
@@ -332,104 +331,3 @@ export const TestType = {
|
|
|
332
331
|
REGION: "Region",
|
|
333
332
|
SOFTWARE: "Software",
|
|
334
333
|
};
|
|
335
|
-
export const AppFilterSensitiveLog = (obj) => ({
|
|
336
|
-
...obj,
|
|
337
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
338
|
-
});
|
|
339
|
-
export const ResiliencyPolicyFilterSensitiveLog = (obj) => ({
|
|
340
|
-
...obj,
|
|
341
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
342
|
-
});
|
|
343
|
-
export const AppAssessmentFilterSensitiveLog = (obj) => ({
|
|
344
|
-
...obj,
|
|
345
|
-
...(obj.policy && { policy: ResiliencyPolicyFilterSensitiveLog(obj.policy) }),
|
|
346
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
347
|
-
});
|
|
348
|
-
export const CreateAppRequestFilterSensitiveLog = (obj) => ({
|
|
349
|
-
...obj,
|
|
350
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
351
|
-
});
|
|
352
|
-
export const CreateAppResponseFilterSensitiveLog = (obj) => ({
|
|
353
|
-
...obj,
|
|
354
|
-
...(obj.app && { app: AppFilterSensitiveLog(obj.app) }),
|
|
355
|
-
});
|
|
356
|
-
export const CreateRecommendationTemplateRequestFilterSensitiveLog = (obj) => ({
|
|
357
|
-
...obj,
|
|
358
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
359
|
-
});
|
|
360
|
-
export const RecommendationTemplateFilterSensitiveLog = (obj) => ({
|
|
361
|
-
...obj,
|
|
362
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
363
|
-
});
|
|
364
|
-
export const CreateRecommendationTemplateResponseFilterSensitiveLog = (obj) => ({
|
|
365
|
-
...obj,
|
|
366
|
-
...(obj.recommendationTemplate && {
|
|
367
|
-
recommendationTemplate: RecommendationTemplateFilterSensitiveLog(obj.recommendationTemplate),
|
|
368
|
-
}),
|
|
369
|
-
});
|
|
370
|
-
export const CreateResiliencyPolicyRequestFilterSensitiveLog = (obj) => ({
|
|
371
|
-
...obj,
|
|
372
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
373
|
-
});
|
|
374
|
-
export const CreateResiliencyPolicyResponseFilterSensitiveLog = (obj) => ({
|
|
375
|
-
...obj,
|
|
376
|
-
...(obj.policy && { policy: ResiliencyPolicyFilterSensitiveLog(obj.policy) }),
|
|
377
|
-
});
|
|
378
|
-
export const DescribeAppResponseFilterSensitiveLog = (obj) => ({
|
|
379
|
-
...obj,
|
|
380
|
-
...(obj.app && { app: AppFilterSensitiveLog(obj.app) }),
|
|
381
|
-
});
|
|
382
|
-
export const DescribeAppAssessmentResponseFilterSensitiveLog = (obj) => ({
|
|
383
|
-
...obj,
|
|
384
|
-
...(obj.assessment && { assessment: AppAssessmentFilterSensitiveLog(obj.assessment) }),
|
|
385
|
-
});
|
|
386
|
-
export const DescribeResiliencyPolicyResponseFilterSensitiveLog = (obj) => ({
|
|
387
|
-
...obj,
|
|
388
|
-
...(obj.policy && { policy: ResiliencyPolicyFilterSensitiveLog(obj.policy) }),
|
|
389
|
-
});
|
|
390
|
-
export const ListRecommendationTemplatesResponseFilterSensitiveLog = (obj) => ({
|
|
391
|
-
...obj,
|
|
392
|
-
...(obj.recommendationTemplates && {
|
|
393
|
-
recommendationTemplates: obj.recommendationTemplates.map((item) => RecommendationTemplateFilterSensitiveLog(item)),
|
|
394
|
-
}),
|
|
395
|
-
});
|
|
396
|
-
export const ListResiliencyPoliciesResponseFilterSensitiveLog = (obj) => ({
|
|
397
|
-
...obj,
|
|
398
|
-
...(obj.resiliencyPolicies && {
|
|
399
|
-
resiliencyPolicies: obj.resiliencyPolicies.map((item) => ResiliencyPolicyFilterSensitiveLog(item)),
|
|
400
|
-
}),
|
|
401
|
-
});
|
|
402
|
-
export const ListSuggestedResiliencyPoliciesResponseFilterSensitiveLog = (obj) => ({
|
|
403
|
-
...obj,
|
|
404
|
-
...(obj.resiliencyPolicies && {
|
|
405
|
-
resiliencyPolicies: obj.resiliencyPolicies.map((item) => ResiliencyPolicyFilterSensitiveLog(item)),
|
|
406
|
-
}),
|
|
407
|
-
});
|
|
408
|
-
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
409
|
-
...obj,
|
|
410
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
411
|
-
});
|
|
412
|
-
export const StartAppAssessmentRequestFilterSensitiveLog = (obj) => ({
|
|
413
|
-
...obj,
|
|
414
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
415
|
-
});
|
|
416
|
-
export const StartAppAssessmentResponseFilterSensitiveLog = (obj) => ({
|
|
417
|
-
...obj,
|
|
418
|
-
...(obj.assessment && { assessment: AppAssessmentFilterSensitiveLog(obj.assessment) }),
|
|
419
|
-
});
|
|
420
|
-
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
421
|
-
...obj,
|
|
422
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
423
|
-
});
|
|
424
|
-
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
425
|
-
...obj,
|
|
426
|
-
...(obj.tagKeys && { tagKeys: SENSITIVE_STRING }),
|
|
427
|
-
});
|
|
428
|
-
export const UpdateAppResponseFilterSensitiveLog = (obj) => ({
|
|
429
|
-
...obj,
|
|
430
|
-
...(obj.app && { app: AppFilterSensitiveLog(obj.app) }),
|
|
431
|
-
});
|
|
432
|
-
export const UpdateResiliencyPolicyResponseFilterSensitiveLog = (obj) => ({
|
|
433
|
-
...obj,
|
|
434
|
-
...(obj.policy && { policy: ResiliencyPolicyFilterSensitiveLog(obj.policy) }),
|
|
435
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.resiliencehub" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "resiliencehub",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|