@aws-sdk/client-resiliencehub 3.271.0 → 3.276.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/Resiliencehub.js +195 -0
- package/dist-cjs/commands/CreateAppVersionAppComponentCommand.js +46 -0
- package/dist-cjs/commands/CreateAppVersionResourceCommand.js +46 -0
- package/dist-cjs/commands/DeleteAppInputSourceCommand.js +46 -0
- package/dist-cjs/commands/DeleteAppVersionAppComponentCommand.js +46 -0
- package/dist-cjs/commands/DeleteAppVersionResourceCommand.js +46 -0
- package/dist-cjs/commands/DescribeAppVersionAppComponentCommand.js +46 -0
- package/dist-cjs/commands/DescribeAppVersionCommand.js +46 -0
- package/dist-cjs/commands/DescribeAppVersionResourceCommand.js +46 -0
- package/dist-cjs/commands/ListAppInputSourcesCommand.js +46 -0
- package/dist-cjs/commands/ListAppVersionAppComponentsCommand.js +46 -0
- package/dist-cjs/commands/UpdateAppVersionAppComponentCommand.js +46 -0
- package/dist-cjs/commands/UpdateAppVersionCommand.js +46 -0
- package/dist-cjs/commands/UpdateAppVersionResourceCommand.js +46 -0
- package/dist-cjs/commands/index.js +13 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +129 -15
- package/dist-cjs/pagination/ListAppInputSourcesPaginator.js +36 -0
- package/dist-cjs/pagination/ListAppVersionAppComponentsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1293 -141
- package/dist-es/Resiliencehub.js +195 -0
- package/dist-es/commands/CreateAppVersionAppComponentCommand.js +42 -0
- package/dist-es/commands/CreateAppVersionResourceCommand.js +42 -0
- package/dist-es/commands/DeleteAppInputSourceCommand.js +42 -0
- package/dist-es/commands/DeleteAppVersionAppComponentCommand.js +42 -0
- package/dist-es/commands/DeleteAppVersionResourceCommand.js +42 -0
- package/dist-es/commands/DescribeAppVersionAppComponentCommand.js +42 -0
- package/dist-es/commands/DescribeAppVersionCommand.js +42 -0
- package/dist-es/commands/DescribeAppVersionResourceCommand.js +42 -0
- package/dist-es/commands/ListAppInputSourcesCommand.js +42 -0
- package/dist-es/commands/ListAppVersionAppComponentsCommand.js +42 -0
- package/dist-es/commands/UpdateAppVersionAppComponentCommand.js +42 -0
- package/dist-es/commands/UpdateAppVersionCommand.js +42 -0
- package/dist-es/commands/UpdateAppVersionResourceCommand.js +42 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +94 -8
- package/dist-es/pagination/ListAppInputSourcesPaginator.js +32 -0
- package/dist-es/pagination/ListAppVersionAppComponentsPaginator.js +32 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +1254 -129
- package/dist-types/Resiliencehub.d.ts +218 -23
- package/dist-types/ResiliencehubClient.d.ts +15 -2
- package/dist-types/commands/AddDraftAppVersionResourceMappingsCommand.d.ts +1 -1
- package/dist-types/commands/CreateAppCommand.d.ts +3 -3
- package/dist-types/commands/CreateAppVersionAppComponentCommand.d.ts +40 -0
- package/dist-types/commands/CreateAppVersionResourceCommand.d.ts +55 -0
- package/dist-types/commands/CreateRecommendationTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAppInputSourceCommand.d.ts +37 -0
- package/dist-types/commands/DeleteAppVersionAppComponentCommand.d.ts +47 -0
- package/dist-types/commands/DeleteAppVersionResourceCommand.d.ts +50 -0
- package/dist-types/commands/DescribeAppVersionAppComponentCommand.d.ts +37 -0
- package/dist-types/commands/DescribeAppVersionCommand.d.ts +37 -0
- package/dist-types/commands/DescribeAppVersionResourceCommand.d.ts +57 -0
- package/dist-types/commands/DescribeAppVersionTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDraftAppVersionResourcesImportStatusCommand.d.ts +7 -0
- package/dist-types/commands/ImportResourcesToDraftAppVersionCommand.d.ts +2 -2
- package/dist-types/commands/ListAlarmRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/ListAppComponentCompliancesCommand.d.ts +1 -1
- package/dist-types/commands/ListAppComponentRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/ListAppInputSourcesCommand.d.ts +39 -0
- package/dist-types/commands/ListAppVersionAppComponentsCommand.d.ts +37 -0
- package/dist-types/commands/ListAppVersionResourcesCommand.d.ts +1 -1
- package/dist-types/commands/ListAppVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListAppsCommand.d.ts +10 -1
- package/dist-types/commands/ListRecommendationTemplatesCommand.d.ts +1 -1
- package/dist-types/commands/ListResiliencyPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListSopRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/ListSuggestedResiliencyPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTestRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/ListUnsupportedAppVersionResourcesCommand.d.ts +1 -1
- package/dist-types/commands/PublishAppVersionCommand.d.ts +1 -1
- package/dist-types/commands/PutDraftAppVersionTemplateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAppVersionAppComponentCommand.d.ts +40 -0
- package/dist-types/commands/UpdateAppVersionCommand.d.ts +42 -0
- package/dist-types/commands/UpdateAppVersionResourceCommand.d.ts +51 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/models/models_0.d.ts +1377 -209
- package/dist-types/pagination/ListAppInputSourcesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListAppVersionAppComponentsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +39 -0
- package/dist-types/ts3.4/Resiliencehub.d.ts +221 -0
- package/dist-types/ts3.4/ResiliencehubClient.d.ts +78 -0
- package/dist-types/ts3.4/commands/CreateAppVersionAppComponentCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateAppVersionResourceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteAppInputSourceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteAppVersionAppComponentCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteAppVersionResourceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeAppVersionAppComponentCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeAppVersionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeAppVersionResourceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListAppInputSourcesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListAppVersionAppComponentsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateAppVersionAppComponentCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateAppVersionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateAppVersionResourceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +278 -24
- package/dist-types/ts3.4/pagination/ListAppInputSourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAppVersionAppComponentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
- package/package.json +29 -29
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListAppVersionAppComponentsRequestFilterSensitiveLog, ListAppVersionAppComponentsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListAppVersionAppComponentsCommand, serializeAws_restJson1ListAppVersionAppComponentsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class ListAppVersionAppComponentsCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListAppVersionAppComponentsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ResiliencehubClient";
|
|
25
|
+
const commandName = "ListAppVersionAppComponentsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: ListAppVersionAppComponentsRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: ListAppVersionAppComponentsResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1ListAppVersionAppComponentsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1ListAppVersionAppComponentsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateAppVersionAppComponentRequestFilterSensitiveLog, UpdateAppVersionAppComponentResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UpdateAppVersionAppComponentCommand, serializeAws_restJson1UpdateAppVersionAppComponentCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class UpdateAppVersionAppComponentCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateAppVersionAppComponentCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ResiliencehubClient";
|
|
25
|
+
const commandName = "UpdateAppVersionAppComponentCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: UpdateAppVersionAppComponentRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: UpdateAppVersionAppComponentResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1UpdateAppVersionAppComponentCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1UpdateAppVersionAppComponentCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateAppVersionRequestFilterSensitiveLog, UpdateAppVersionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UpdateAppVersionCommand, serializeAws_restJson1UpdateAppVersionCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class UpdateAppVersionCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateAppVersionCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ResiliencehubClient";
|
|
25
|
+
const commandName = "UpdateAppVersionCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: UpdateAppVersionRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: UpdateAppVersionResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1UpdateAppVersionCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1UpdateAppVersionCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateAppVersionResourceRequestFilterSensitiveLog, UpdateAppVersionResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UpdateAppVersionResourceCommand, serializeAws_restJson1UpdateAppVersionResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class UpdateAppVersionResourceCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateAppVersionResourceCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ResiliencehubClient";
|
|
25
|
+
const commandName = "UpdateAppVersionResourceCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: UpdateAppVersionResourceRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: UpdateAppVersionResourceResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1UpdateAppVersionResourceCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1UpdateAppVersionResourceCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
export * from "./AddDraftAppVersionResourceMappingsCommand";
|
|
2
2
|
export * from "./CreateAppCommand";
|
|
3
|
+
export * from "./CreateAppVersionAppComponentCommand";
|
|
4
|
+
export * from "./CreateAppVersionResourceCommand";
|
|
3
5
|
export * from "./CreateRecommendationTemplateCommand";
|
|
4
6
|
export * from "./CreateResiliencyPolicyCommand";
|
|
5
7
|
export * from "./DeleteAppAssessmentCommand";
|
|
6
8
|
export * from "./DeleteAppCommand";
|
|
9
|
+
export * from "./DeleteAppInputSourceCommand";
|
|
10
|
+
export * from "./DeleteAppVersionAppComponentCommand";
|
|
11
|
+
export * from "./DeleteAppVersionResourceCommand";
|
|
7
12
|
export * from "./DeleteRecommendationTemplateCommand";
|
|
8
13
|
export * from "./DeleteResiliencyPolicyCommand";
|
|
9
14
|
export * from "./DescribeAppAssessmentCommand";
|
|
10
15
|
export * from "./DescribeAppCommand";
|
|
16
|
+
export * from "./DescribeAppVersionAppComponentCommand";
|
|
17
|
+
export * from "./DescribeAppVersionCommand";
|
|
18
|
+
export * from "./DescribeAppVersionResourceCommand";
|
|
11
19
|
export * from "./DescribeAppVersionResourcesResolutionStatusCommand";
|
|
12
20
|
export * from "./DescribeAppVersionTemplateCommand";
|
|
13
21
|
export * from "./DescribeDraftAppVersionResourcesImportStatusCommand";
|
|
@@ -17,6 +25,8 @@ export * from "./ListAlarmRecommendationsCommand";
|
|
|
17
25
|
export * from "./ListAppAssessmentsCommand";
|
|
18
26
|
export * from "./ListAppComponentCompliancesCommand";
|
|
19
27
|
export * from "./ListAppComponentRecommendationsCommand";
|
|
28
|
+
export * from "./ListAppInputSourcesCommand";
|
|
29
|
+
export * from "./ListAppVersionAppComponentsCommand";
|
|
20
30
|
export * from "./ListAppVersionResourceMappingsCommand";
|
|
21
31
|
export * from "./ListAppVersionResourcesCommand";
|
|
22
32
|
export * from "./ListAppVersionsCommand";
|
|
@@ -36,4 +46,7 @@ export * from "./StartAppAssessmentCommand";
|
|
|
36
46
|
export * from "./TagResourceCommand";
|
|
37
47
|
export * from "./UntagResourceCommand";
|
|
38
48
|
export * from "./UpdateAppCommand";
|
|
49
|
+
export * from "./UpdateAppVersionAppComponentCommand";
|
|
50
|
+
export * from "./UpdateAppVersionCommand";
|
|
51
|
+
export * from "./UpdateAppVersionResourceCommand";
|
|
39
52
|
export * from "./UpdateResiliencyPolicyCommand";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://resiliencehub-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://resiliencehub-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://resiliencehub.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://resiliencehub.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -211,6 +211,11 @@ export var ResourceImportStatusType;
|
|
|
211
211
|
ResourceImportStatusType["PENDING"] = "Pending";
|
|
212
212
|
ResourceImportStatusType["SUCCESS"] = "Success";
|
|
213
213
|
})(ResourceImportStatusType || (ResourceImportStatusType = {}));
|
|
214
|
+
export var ResourceImportStrategyType;
|
|
215
|
+
(function (ResourceImportStrategyType) {
|
|
216
|
+
ResourceImportStrategyType["ADD_ONLY"] = "AddOnly";
|
|
217
|
+
ResourceImportStrategyType["REPLACE_ALL"] = "ReplaceAll";
|
|
218
|
+
})(ResourceImportStrategyType || (ResourceImportStrategyType = {}));
|
|
214
219
|
export var HaArchitecture;
|
|
215
220
|
(function (HaArchitecture) {
|
|
216
221
|
HaArchitecture["BACKUP_AND_RESTORE"] = "BackupAndRestore";
|
|
@@ -309,6 +314,12 @@ export const AppComponentFilterSensitiveLog = (obj) => ({
|
|
|
309
314
|
export const AppComponentComplianceFilterSensitiveLog = (obj) => ({
|
|
310
315
|
...obj,
|
|
311
316
|
});
|
|
317
|
+
export const TerraformSourceFilterSensitiveLog = (obj) => ({
|
|
318
|
+
...obj,
|
|
319
|
+
});
|
|
320
|
+
export const AppInputSourceFilterSensitiveLog = (obj) => ({
|
|
321
|
+
...obj,
|
|
322
|
+
});
|
|
312
323
|
export const AppSummaryFilterSensitiveLog = (obj) => ({
|
|
313
324
|
...obj,
|
|
314
325
|
});
|
|
@@ -323,6 +334,24 @@ export const CreateAppResponseFilterSensitiveLog = (obj) => ({
|
|
|
323
334
|
...obj,
|
|
324
335
|
...(obj.app && { app: AppFilterSensitiveLog(obj.app) }),
|
|
325
336
|
});
|
|
337
|
+
export const CreateAppVersionAppComponentRequestFilterSensitiveLog = (obj) => ({
|
|
338
|
+
...obj,
|
|
339
|
+
});
|
|
340
|
+
export const CreateAppVersionAppComponentResponseFilterSensitiveLog = (obj) => ({
|
|
341
|
+
...obj,
|
|
342
|
+
});
|
|
343
|
+
export const LogicalResourceIdFilterSensitiveLog = (obj) => ({
|
|
344
|
+
...obj,
|
|
345
|
+
});
|
|
346
|
+
export const CreateAppVersionResourceRequestFilterSensitiveLog = (obj) => ({
|
|
347
|
+
...obj,
|
|
348
|
+
});
|
|
349
|
+
export const PhysicalResourceFilterSensitiveLog = (obj) => ({
|
|
350
|
+
...obj,
|
|
351
|
+
});
|
|
352
|
+
export const CreateAppVersionResourceResponseFilterSensitiveLog = (obj) => ({
|
|
353
|
+
...obj,
|
|
354
|
+
});
|
|
326
355
|
export const CreateRecommendationTemplateRequestFilterSensitiveLog = (obj) => ({
|
|
327
356
|
...obj,
|
|
328
357
|
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
@@ -360,6 +389,24 @@ export const DeleteAppAssessmentRequestFilterSensitiveLog = (obj) => ({
|
|
|
360
389
|
export const DeleteAppAssessmentResponseFilterSensitiveLog = (obj) => ({
|
|
361
390
|
...obj,
|
|
362
391
|
});
|
|
392
|
+
export const DeleteAppInputSourceRequestFilterSensitiveLog = (obj) => ({
|
|
393
|
+
...obj,
|
|
394
|
+
});
|
|
395
|
+
export const DeleteAppInputSourceResponseFilterSensitiveLog = (obj) => ({
|
|
396
|
+
...obj,
|
|
397
|
+
});
|
|
398
|
+
export const DeleteAppVersionAppComponentRequestFilterSensitiveLog = (obj) => ({
|
|
399
|
+
...obj,
|
|
400
|
+
});
|
|
401
|
+
export const DeleteAppVersionAppComponentResponseFilterSensitiveLog = (obj) => ({
|
|
402
|
+
...obj,
|
|
403
|
+
});
|
|
404
|
+
export const DeleteAppVersionResourceRequestFilterSensitiveLog = (obj) => ({
|
|
405
|
+
...obj,
|
|
406
|
+
});
|
|
407
|
+
export const DeleteAppVersionResourceResponseFilterSensitiveLog = (obj) => ({
|
|
408
|
+
...obj,
|
|
409
|
+
});
|
|
363
410
|
export const DeleteRecommendationTemplateRequestFilterSensitiveLog = (obj) => ({
|
|
364
411
|
...obj,
|
|
365
412
|
});
|
|
@@ -386,6 +433,24 @@ export const DescribeAppAssessmentResponseFilterSensitiveLog = (obj) => ({
|
|
|
386
433
|
...obj,
|
|
387
434
|
...(obj.assessment && { assessment: AppAssessmentFilterSensitiveLog(obj.assessment) }),
|
|
388
435
|
});
|
|
436
|
+
export const DescribeAppVersionRequestFilterSensitiveLog = (obj) => ({
|
|
437
|
+
...obj,
|
|
438
|
+
});
|
|
439
|
+
export const DescribeAppVersionResponseFilterSensitiveLog = (obj) => ({
|
|
440
|
+
...obj,
|
|
441
|
+
});
|
|
442
|
+
export const DescribeAppVersionAppComponentRequestFilterSensitiveLog = (obj) => ({
|
|
443
|
+
...obj,
|
|
444
|
+
});
|
|
445
|
+
export const DescribeAppVersionAppComponentResponseFilterSensitiveLog = (obj) => ({
|
|
446
|
+
...obj,
|
|
447
|
+
});
|
|
448
|
+
export const DescribeAppVersionResourceRequestFilterSensitiveLog = (obj) => ({
|
|
449
|
+
...obj,
|
|
450
|
+
});
|
|
451
|
+
export const DescribeAppVersionResourceResponseFilterSensitiveLog = (obj) => ({
|
|
452
|
+
...obj,
|
|
453
|
+
});
|
|
389
454
|
export const DescribeAppVersionResourcesResolutionStatusRequestFilterSensitiveLog = (obj) => ({
|
|
390
455
|
...obj,
|
|
391
456
|
});
|
|
@@ -411,9 +476,6 @@ export const DescribeResiliencyPolicyResponseFilterSensitiveLog = (obj) => ({
|
|
|
411
476
|
...obj,
|
|
412
477
|
...(obj.policy && { policy: ResiliencyPolicyFilterSensitiveLog(obj.policy) }),
|
|
413
478
|
});
|
|
414
|
-
export const TerraformSourceFilterSensitiveLog = (obj) => ({
|
|
415
|
-
...obj,
|
|
416
|
-
});
|
|
417
479
|
export const ImportResourcesToDraftAppVersionRequestFilterSensitiveLog = (obj) => ({
|
|
418
480
|
...obj,
|
|
419
481
|
});
|
|
@@ -453,25 +515,31 @@ export const ComponentRecommendationFilterSensitiveLog = (obj) => ({
|
|
|
453
515
|
export const ListAppComponentRecommendationsResponseFilterSensitiveLog = (obj) => ({
|
|
454
516
|
...obj,
|
|
455
517
|
});
|
|
518
|
+
export const ListAppInputSourcesRequestFilterSensitiveLog = (obj) => ({
|
|
519
|
+
...obj,
|
|
520
|
+
});
|
|
521
|
+
export const ListAppInputSourcesResponseFilterSensitiveLog = (obj) => ({
|
|
522
|
+
...obj,
|
|
523
|
+
});
|
|
456
524
|
export const ListAppsRequestFilterSensitiveLog = (obj) => ({
|
|
457
525
|
...obj,
|
|
458
526
|
});
|
|
459
527
|
export const ListAppsResponseFilterSensitiveLog = (obj) => ({
|
|
460
528
|
...obj,
|
|
461
529
|
});
|
|
462
|
-
export const
|
|
530
|
+
export const ListAppVersionAppComponentsRequestFilterSensitiveLog = (obj) => ({
|
|
463
531
|
...obj,
|
|
464
532
|
});
|
|
465
|
-
export const
|
|
533
|
+
export const ListAppVersionAppComponentsResponseFilterSensitiveLog = (obj) => ({
|
|
466
534
|
...obj,
|
|
467
535
|
});
|
|
468
|
-
export const
|
|
536
|
+
export const ListAppVersionResourceMappingsRequestFilterSensitiveLog = (obj) => ({
|
|
469
537
|
...obj,
|
|
470
538
|
});
|
|
471
|
-
export const
|
|
539
|
+
export const ListAppVersionResourceMappingsResponseFilterSensitiveLog = (obj) => ({
|
|
472
540
|
...obj,
|
|
473
541
|
});
|
|
474
|
-
export const
|
|
542
|
+
export const ListAppVersionResourcesRequestFilterSensitiveLog = (obj) => ({
|
|
475
543
|
...obj,
|
|
476
544
|
});
|
|
477
545
|
export const ListAppVersionResourcesResponseFilterSensitiveLog = (obj) => ({
|
|
@@ -597,6 +665,24 @@ export const UpdateAppResponseFilterSensitiveLog = (obj) => ({
|
|
|
597
665
|
...obj,
|
|
598
666
|
...(obj.app && { app: AppFilterSensitiveLog(obj.app) }),
|
|
599
667
|
});
|
|
668
|
+
export const UpdateAppVersionRequestFilterSensitiveLog = (obj) => ({
|
|
669
|
+
...obj,
|
|
670
|
+
});
|
|
671
|
+
export const UpdateAppVersionResponseFilterSensitiveLog = (obj) => ({
|
|
672
|
+
...obj,
|
|
673
|
+
});
|
|
674
|
+
export const UpdateAppVersionAppComponentRequestFilterSensitiveLog = (obj) => ({
|
|
675
|
+
...obj,
|
|
676
|
+
});
|
|
677
|
+
export const UpdateAppVersionAppComponentResponseFilterSensitiveLog = (obj) => ({
|
|
678
|
+
...obj,
|
|
679
|
+
});
|
|
680
|
+
export const UpdateAppVersionResourceRequestFilterSensitiveLog = (obj) => ({
|
|
681
|
+
...obj,
|
|
682
|
+
});
|
|
683
|
+
export const UpdateAppVersionResourceResponseFilterSensitiveLog = (obj) => ({
|
|
684
|
+
...obj,
|
|
685
|
+
});
|
|
600
686
|
export const UpdateResiliencyPolicyRequestFilterSensitiveLog = (obj) => ({
|
|
601
687
|
...obj,
|
|
602
688
|
});
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ListAppInputSourcesCommand, } from "../commands/ListAppInputSourcesCommand";
|
|
2
|
+
import { Resiliencehub } from "../Resiliencehub";
|
|
3
|
+
import { ResiliencehubClient } from "../ResiliencehubClient";
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new ListAppInputSourcesCommand(input), ...args);
|
|
6
|
+
};
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.listAppInputSources(input, ...args);
|
|
9
|
+
};
|
|
10
|
+
export async function* paginateListAppInputSources(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
14
|
+
while (hasNext) {
|
|
15
|
+
input.nextToken = token;
|
|
16
|
+
input["maxResults"] = config.pageSize;
|
|
17
|
+
if (config.client instanceof Resiliencehub) {
|
|
18
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
+
}
|
|
20
|
+
else if (config.client instanceof ResiliencehubClient) {
|
|
21
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
throw new Error("Invalid client, expected Resiliencehub | ResiliencehubClient");
|
|
25
|
+
}
|
|
26
|
+
yield page;
|
|
27
|
+
const prevToken = token;
|
|
28
|
+
token = page.nextToken;
|
|
29
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
30
|
+
}
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ListAppVersionAppComponentsCommand, } from "../commands/ListAppVersionAppComponentsCommand";
|
|
2
|
+
import { Resiliencehub } from "../Resiliencehub";
|
|
3
|
+
import { ResiliencehubClient } from "../ResiliencehubClient";
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new ListAppVersionAppComponentsCommand(input), ...args);
|
|
6
|
+
};
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.listAppVersionAppComponents(input, ...args);
|
|
9
|
+
};
|
|
10
|
+
export async function* paginateListAppVersionAppComponents(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
14
|
+
while (hasNext) {
|
|
15
|
+
input.nextToken = token;
|
|
16
|
+
input["maxResults"] = config.pageSize;
|
|
17
|
+
if (config.client instanceof Resiliencehub) {
|
|
18
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
+
}
|
|
20
|
+
else if (config.client instanceof ResiliencehubClient) {
|
|
21
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
throw new Error("Invalid client, expected Resiliencehub | ResiliencehubClient");
|
|
25
|
+
}
|
|
26
|
+
yield page;
|
|
27
|
+
const prevToken = token;
|
|
28
|
+
token = page.nextToken;
|
|
29
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
30
|
+
}
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
@@ -3,6 +3,8 @@ export * from "./ListAlarmRecommendationsPaginator";
|
|
|
3
3
|
export * from "./ListAppAssessmentsPaginator";
|
|
4
4
|
export * from "./ListAppComponentCompliancesPaginator";
|
|
5
5
|
export * from "./ListAppComponentRecommendationsPaginator";
|
|
6
|
+
export * from "./ListAppInputSourcesPaginator";
|
|
7
|
+
export * from "./ListAppVersionAppComponentsPaginator";
|
|
6
8
|
export * from "./ListAppVersionResourceMappingsPaginator";
|
|
7
9
|
export * from "./ListAppVersionResourcesPaginator";
|
|
8
10
|
export * from "./ListAppVersionsPaginator";
|