@aws-sdk/client-resiliencehub 3.272.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 +2 -2
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { UpdateAppVersionAppComponentRequest, UpdateAppVersionAppComponentResponse } from "../models/models_0";
|
|
5
|
+
import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient";
|
|
6
|
+
export interface UpdateAppVersionAppComponentCommandInput extends UpdateAppVersionAppComponentRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface UpdateAppVersionAppComponentCommandOutput extends UpdateAppVersionAppComponentResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Updates an existing Application Component in the AWS Resilience Hub application.</p>
|
|
12
|
+
* <note>
|
|
13
|
+
* <p>This API updates the AWS Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the AWS Resilience Hub application using the <code>PublishAppVersion</code> API.</p>
|
|
14
|
+
* </note>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { ResiliencehubClient, UpdateAppVersionAppComponentCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
19
|
+
* // const { ResiliencehubClient, UpdateAppVersionAppComponentCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
20
|
+
* const client = new ResiliencehubClient(config);
|
|
21
|
+
* const command = new UpdateAppVersionAppComponentCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link UpdateAppVersionAppComponentCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link UpdateAppVersionAppComponentCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class UpdateAppVersionAppComponentCommand extends $Command<UpdateAppVersionAppComponentCommandInput, UpdateAppVersionAppComponentCommandOutput, ResiliencehubClientResolvedConfig> {
|
|
31
|
+
readonly input: UpdateAppVersionAppComponentCommandInput;
|
|
32
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
33
|
+
constructor(input: UpdateAppVersionAppComponentCommandInput);
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResiliencehubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateAppVersionAppComponentCommandInput, UpdateAppVersionAppComponentCommandOutput>;
|
|
38
|
+
private serialize;
|
|
39
|
+
private deserialize;
|
|
40
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { UpdateAppVersionRequest, UpdateAppVersionResponse } from "../models/models_0";
|
|
5
|
+
import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient";
|
|
6
|
+
export interface UpdateAppVersionCommandInput extends UpdateAppVersionRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface UpdateAppVersionCommandOutput extends UpdateAppVersionResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Updates the AWS Resilience Hub application version.</p>
|
|
12
|
+
* <note>
|
|
13
|
+
* <p>This API updates the AWS Resilience Hub application draft version. To use this information
|
|
14
|
+
* for running resiliency assessments, you must publish the AWS Resilience Hub application using the
|
|
15
|
+
* <code>PublishAppVersion</code> API.</p>
|
|
16
|
+
* </note>
|
|
17
|
+
* @example
|
|
18
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
+
* ```javascript
|
|
20
|
+
* import { ResiliencehubClient, UpdateAppVersionCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
21
|
+
* // const { ResiliencehubClient, UpdateAppVersionCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
22
|
+
* const client = new ResiliencehubClient(config);
|
|
23
|
+
* const command = new UpdateAppVersionCommand(input);
|
|
24
|
+
* const response = await client.send(command);
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* @see {@link UpdateAppVersionCommandInput} for command's `input` shape.
|
|
28
|
+
* @see {@link UpdateAppVersionCommandOutput} for command's `response` shape.
|
|
29
|
+
* @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
export declare class UpdateAppVersionCommand extends $Command<UpdateAppVersionCommandInput, UpdateAppVersionCommandOutput, ResiliencehubClientResolvedConfig> {
|
|
33
|
+
readonly input: UpdateAppVersionCommandInput;
|
|
34
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
35
|
+
constructor(input: UpdateAppVersionCommandInput);
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResiliencehubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateAppVersionCommandInput, UpdateAppVersionCommandOutput>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { UpdateAppVersionResourceRequest, UpdateAppVersionResourceResponse } from "../models/models_0";
|
|
5
|
+
import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient";
|
|
6
|
+
export interface UpdateAppVersionResourceCommandInput extends UpdateAppVersionResourceRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface UpdateAppVersionResourceCommandOutput extends UpdateAppVersionResourceResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Updates the resource details in the AWS Resilience Hub application.</p>
|
|
12
|
+
* <note>
|
|
13
|
+
* <ul>
|
|
14
|
+
* <li>
|
|
15
|
+
* <p>This action has no effect outside AWS Resilience Hub.</p>
|
|
16
|
+
* </li>
|
|
17
|
+
* <li>
|
|
18
|
+
* <p>This API updates the AWS Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the AWS Resilience Hub application using the <code>PublishAppVersion</code> API.</p>
|
|
19
|
+
* </li>
|
|
20
|
+
* <li>
|
|
21
|
+
* <p>To update application version with new <code>physicalResourceID</code>, you must call
|
|
22
|
+
* <code>ResolveAppVersionResources</code> API.</p>
|
|
23
|
+
* </li>
|
|
24
|
+
* </ul>
|
|
25
|
+
* </note>
|
|
26
|
+
* @example
|
|
27
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
+
* ```javascript
|
|
29
|
+
* import { ResiliencehubClient, UpdateAppVersionResourceCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
30
|
+
* // const { ResiliencehubClient, UpdateAppVersionResourceCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
31
|
+
* const client = new ResiliencehubClient(config);
|
|
32
|
+
* const command = new UpdateAppVersionResourceCommand(input);
|
|
33
|
+
* const response = await client.send(command);
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* @see {@link UpdateAppVersionResourceCommandInput} for command's `input` shape.
|
|
37
|
+
* @see {@link UpdateAppVersionResourceCommandOutput} for command's `response` shape.
|
|
38
|
+
* @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape.
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
export declare class UpdateAppVersionResourceCommand extends $Command<UpdateAppVersionResourceCommandInput, UpdateAppVersionResourceCommandOutput, ResiliencehubClientResolvedConfig> {
|
|
42
|
+
readonly input: UpdateAppVersionResourceCommandInput;
|
|
43
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
44
|
+
constructor(input: UpdateAppVersionResourceCommandInput);
|
|
45
|
+
/**
|
|
46
|
+
* @internal
|
|
47
|
+
*/
|
|
48
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResiliencehubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateAppVersionResourceCommandInput, UpdateAppVersionResourceCommandOutput>;
|
|
49
|
+
private serialize;
|
|
50
|
+
private deserialize;
|
|
51
|
+
}
|
|
@@ -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";
|