@aws-sdk/client-resiliencehub 3.382.0 → 3.385.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/README.md +16 -0
- package/dist-cjs/Resiliencehub.js +4 -0
- package/dist-cjs/commands/BatchUpdateRecommendationStatusCommand.js +46 -0
- package/dist-cjs/commands/ListAppAssessmentComplianceDriftsCommand.js +46 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +32 -2
- package/dist-cjs/pagination/ListAppAssessmentComplianceDriftsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +178 -4
- package/dist-es/Resiliencehub.js +4 -0
- package/dist-es/commands/BatchUpdateRecommendationStatusCommand.js +42 -0
- package/dist-es/commands/ListAppAssessmentComplianceDriftsCommand.js +42 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +30 -0
- package/dist-es/pagination/ListAppAssessmentComplianceDriftsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +172 -2
- package/dist-types/Resiliencehub.d.ts +14 -0
- package/dist-types/ResiliencehubClient.d.ts +4 -2
- package/dist-types/commands/AddDraftAppVersionResourceMappingsCommand.d.ts +2 -1
- package/dist-types/commands/BatchUpdateRecommendationStatusCommand.d.ts +123 -0
- package/dist-types/commands/CreateAppCommand.d.ts +35 -4
- package/dist-types/commands/DescribeAppAssessmentCommand.d.ts +2 -0
- package/dist-types/commands/DescribeAppCommand.d.ts +16 -0
- package/dist-types/commands/ImportResourcesToDraftAppVersionCommand.d.ts +4 -0
- package/dist-types/commands/ListAlarmRecommendationsCommand.d.ts +5 -0
- package/dist-types/commands/ListAppAssessmentComplianceDriftsCommand.d.ts +130 -0
- package/dist-types/commands/ListAppAssessmentsCommand.d.ts +2 -0
- package/dist-types/commands/ListAppVersionsCommand.d.ts +5 -0
- package/dist-types/commands/ListAppsCommand.d.ts +1 -0
- package/dist-types/commands/ListSopRecommendationsCommand.d.ts +2 -0
- package/dist-types/commands/ListTestRecommendationsCommand.d.ts +2 -0
- package/dist-types/commands/PublishAppVersionCommand.d.ts +3 -0
- package/dist-types/commands/StartAppAssessmentCommand.d.ts +2 -0
- package/dist-types/commands/UpdateAppCommand.d.ts +30 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +1058 -350
- package/dist-types/pagination/ListAppAssessmentComplianceDriftsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/Resiliencehub.d.ts +40 -0
- package/dist-types/ts3.4/ResiliencehubClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/BatchUpdateRecommendationStatusCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListAppAssessmentComplianceDriftsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +130 -0
- package/dist-types/ts3.4/pagination/ListAppAssessmentComplianceDriftsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +3 -3
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { BatchUpdateRecommendationStatusRequest, BatchUpdateRecommendationStatusResponse } from "../models/models_0";
|
|
5
|
+
import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchUpdateRecommendationStatusCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchUpdateRecommendationStatusCommandInput extends BatchUpdateRecommendationStatusRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchUpdateRecommendationStatusCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchUpdateRecommendationStatusCommandOutput extends BatchUpdateRecommendationStatusResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Enables you to include or exclude one or more operational recommendations.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { ResiliencehubClient, BatchUpdateRecommendationStatusCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
31
|
+
* // const { ResiliencehubClient, BatchUpdateRecommendationStatusCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
32
|
+
* const client = new ResiliencehubClient(config);
|
|
33
|
+
* const input = { // BatchUpdateRecommendationStatusRequest
|
|
34
|
+
* appArn: "STRING_VALUE", // required
|
|
35
|
+
* requestEntries: [ // UpdateRecommendationStatusRequestEntries // required
|
|
36
|
+
* { // UpdateRecommendationStatusRequestEntry
|
|
37
|
+
* entryId: "STRING_VALUE", // required
|
|
38
|
+
* referenceId: "STRING_VALUE", // required
|
|
39
|
+
* item: { // UpdateRecommendationStatusItem
|
|
40
|
+
* resourceId: "STRING_VALUE",
|
|
41
|
+
* targetAccountId: "STRING_VALUE",
|
|
42
|
+
* targetRegion: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* excluded: true || false, // required
|
|
45
|
+
* excludeReason: "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* };
|
|
49
|
+
* const command = new BatchUpdateRecommendationStatusCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // BatchUpdateRecommendationStatusResponse
|
|
52
|
+
* // appArn: "STRING_VALUE", // required
|
|
53
|
+
* // successfulEntries: [ // BatchUpdateRecommendationStatusSuccessfulEntries // required
|
|
54
|
+
* // { // BatchUpdateRecommendationStatusSuccessfulEntry
|
|
55
|
+
* // entryId: "STRING_VALUE", // required
|
|
56
|
+
* // referenceId: "STRING_VALUE", // required
|
|
57
|
+
* // item: { // UpdateRecommendationStatusItem
|
|
58
|
+
* // resourceId: "STRING_VALUE",
|
|
59
|
+
* // targetAccountId: "STRING_VALUE",
|
|
60
|
+
* // targetRegion: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // excluded: true || false, // required
|
|
63
|
+
* // excludeReason: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // ],
|
|
66
|
+
* // failedEntries: [ // BatchUpdateRecommendationStatusFailedEntries // required
|
|
67
|
+
* // { // BatchUpdateRecommendationStatusFailedEntry
|
|
68
|
+
* // entryId: "STRING_VALUE", // required
|
|
69
|
+
* // errorMessage: "STRING_VALUE", // required
|
|
70
|
+
* // },
|
|
71
|
+
* // ],
|
|
72
|
+
* // };
|
|
73
|
+
*
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
76
|
+
* @param BatchUpdateRecommendationStatusCommandInput - {@link BatchUpdateRecommendationStatusCommandInput}
|
|
77
|
+
* @returns {@link BatchUpdateRecommendationStatusCommandOutput}
|
|
78
|
+
* @see {@link BatchUpdateRecommendationStatusCommandInput} for command's `input` shape.
|
|
79
|
+
* @see {@link BatchUpdateRecommendationStatusCommandOutput} for command's `response` shape.
|
|
80
|
+
* @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape.
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
83
|
+
* <p>You don't have permissions to perform the requested operation. The user or role that is
|
|
84
|
+
* making the request must have at least one IAM permissions policy attached that grants the
|
|
85
|
+
* required permissions.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link InternalServerException} (server fault)
|
|
88
|
+
* <p>This exception occurs when there is an internal failure in the Resilience Hub
|
|
89
|
+
* service.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
92
|
+
* <p>This exception occurs when the specified resource could not be found.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
95
|
+
* <p>This exception occurs when you have exceeded the limit on the number of requests per second.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link ValidationException} (client fault)
|
|
98
|
+
* <p>This exception occurs when a request is not valid.</p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link ResiliencehubServiceException}
|
|
101
|
+
* <p>Base exception class for all service exceptions from Resiliencehub service.</p>
|
|
102
|
+
*
|
|
103
|
+
*/
|
|
104
|
+
export declare class BatchUpdateRecommendationStatusCommand extends $Command<BatchUpdateRecommendationStatusCommandInput, BatchUpdateRecommendationStatusCommandOutput, ResiliencehubClientResolvedConfig> {
|
|
105
|
+
readonly input: BatchUpdateRecommendationStatusCommandInput;
|
|
106
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
107
|
+
/**
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
constructor(input: BatchUpdateRecommendationStatusCommandInput);
|
|
111
|
+
/**
|
|
112
|
+
* @internal
|
|
113
|
+
*/
|
|
114
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResiliencehubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchUpdateRecommendationStatusCommandInput, BatchUpdateRecommendationStatusCommandOutput>;
|
|
115
|
+
/**
|
|
116
|
+
* @internal
|
|
117
|
+
*/
|
|
118
|
+
private serialize;
|
|
119
|
+
/**
|
|
120
|
+
* @internal
|
|
121
|
+
*/
|
|
122
|
+
private deserialize;
|
|
123
|
+
}
|
|
@@ -24,10 +24,11 @@ export interface CreateAppCommandOutput extends CreateAppResponse, __MetadataBea
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Creates an Resilience Hub application. An Resilience Hub application is a
|
|
27
|
-
* collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe
|
|
28
|
-
* application name, resources from one or more CloudFormation stacks, Resource Groups,
|
|
29
|
-
*
|
|
30
|
-
*
|
|
27
|
+
* collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a Resilience Hub application, you provide an
|
|
28
|
+
* application name, resources from one or more CloudFormation stacks, Resource Groups, Terraform state files, AppRegistry applications, and an appropriate
|
|
29
|
+
* resiliency policy. In addition, you can also add resources that are located on Amazon Elastic Kubernetes Service (Amazon EKS) clusters as optional resources. For more information
|
|
30
|
+
* about the number of resources supported per application, see <a href="https://docs.aws.amazon.com/general/latest/gr/resiliencehub.html#limits_resiliencehub">Service
|
|
31
|
+
* quotas</a>.</p>
|
|
31
32
|
* <p>After you create an Resilience Hub application, you publish it so that you can run a resiliency
|
|
32
33
|
* assessment on it. You can then use recommendations from the assessment to improve resiliency
|
|
33
34
|
* by running another assessment, comparing results, and then iterating the process until you
|
|
@@ -48,6 +49,20 @@ export interface CreateAppCommandOutput extends CreateAppResponse, __MetadataBea
|
|
|
48
49
|
* },
|
|
49
50
|
* clientToken: "STRING_VALUE",
|
|
50
51
|
* assessmentSchedule: "STRING_VALUE",
|
|
52
|
+
* permissionModel: { // PermissionModel
|
|
53
|
+
* type: "STRING_VALUE", // required
|
|
54
|
+
* invokerRoleName: "STRING_VALUE",
|
|
55
|
+
* crossAccountRoleArns: [ // IamRoleArnList
|
|
56
|
+
* "STRING_VALUE",
|
|
57
|
+
* ],
|
|
58
|
+
* },
|
|
59
|
+
* eventSubscriptions: [ // EventSubscriptionList
|
|
60
|
+
* { // EventSubscription
|
|
61
|
+
* name: "STRING_VALUE", // required
|
|
62
|
+
* eventType: "STRING_VALUE", // required
|
|
63
|
+
* snsTopicArn: "STRING_VALUE",
|
|
64
|
+
* },
|
|
65
|
+
* ],
|
|
51
66
|
* };
|
|
52
67
|
* const command = new CreateAppCommand(input);
|
|
53
68
|
* const response = await client.send(command);
|
|
@@ -67,6 +82,22 @@ export interface CreateAppCommandOutput extends CreateAppResponse, __MetadataBea
|
|
|
67
82
|
* // "<keys>": "STRING_VALUE",
|
|
68
83
|
* // },
|
|
69
84
|
* // assessmentSchedule: "STRING_VALUE",
|
|
85
|
+
* // permissionModel: { // PermissionModel
|
|
86
|
+
* // type: "STRING_VALUE", // required
|
|
87
|
+
* // invokerRoleName: "STRING_VALUE",
|
|
88
|
+
* // crossAccountRoleArns: [ // IamRoleArnList
|
|
89
|
+
* // "STRING_VALUE",
|
|
90
|
+
* // ],
|
|
91
|
+
* // },
|
|
92
|
+
* // eventSubscriptions: [ // EventSubscriptionList
|
|
93
|
+
* // { // EventSubscription
|
|
94
|
+
* // name: "STRING_VALUE", // required
|
|
95
|
+
* // eventType: "STRING_VALUE", // required
|
|
96
|
+
* // snsTopicArn: "STRING_VALUE",
|
|
97
|
+
* // },
|
|
98
|
+
* // ],
|
|
99
|
+
* // driftStatus: "STRING_VALUE",
|
|
100
|
+
* // lastDriftEvaluationTime: new Date("TIMESTAMP"),
|
|
70
101
|
* // },
|
|
71
102
|
* // };
|
|
72
103
|
*
|
|
@@ -51,6 +51,22 @@ export interface DescribeAppCommandOutput extends DescribeAppResponse, __Metadat
|
|
|
51
51
|
* // "<keys>": "STRING_VALUE",
|
|
52
52
|
* // },
|
|
53
53
|
* // assessmentSchedule: "STRING_VALUE",
|
|
54
|
+
* // permissionModel: { // PermissionModel
|
|
55
|
+
* // type: "STRING_VALUE", // required
|
|
56
|
+
* // invokerRoleName: "STRING_VALUE",
|
|
57
|
+
* // crossAccountRoleArns: [ // IamRoleArnList
|
|
58
|
+
* // "STRING_VALUE",
|
|
59
|
+
* // ],
|
|
60
|
+
* // },
|
|
61
|
+
* // eventSubscriptions: [ // EventSubscriptionList
|
|
62
|
+
* // { // EventSubscription
|
|
63
|
+
* // name: "STRING_VALUE", // required
|
|
64
|
+
* // eventType: "STRING_VALUE", // required
|
|
65
|
+
* // snsTopicArn: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // ],
|
|
68
|
+
* // driftStatus: "STRING_VALUE",
|
|
69
|
+
* // lastDriftEvaluationTime: new Date("TIMESTAMP"),
|
|
54
70
|
* // },
|
|
55
71
|
* // };
|
|
56
72
|
*
|
|
@@ -101,6 +101,10 @@ export interface ImportResourcesToDraftAppVersionCommandOutput extends ImportRes
|
|
|
101
101
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
102
102
|
* <p>This exception occurs when the specified resource could not be found.</p>
|
|
103
103
|
*
|
|
104
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
105
|
+
* <p>This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the
|
|
106
|
+
* relevant resources, or use Service Quotas to request a service quota increase.</p>
|
|
107
|
+
*
|
|
104
108
|
* @throws {@link ThrottlingException} (client fault)
|
|
105
109
|
* <p>This exception occurs when you have exceeded the limit on the number of requests per second.</p>
|
|
106
110
|
*
|
|
@@ -52,9 +52,14 @@ export interface ListAlarmRecommendationsCommandOutput extends ListAlarmRecommen
|
|
|
52
52
|
* // targetAccountId: "STRING_VALUE",
|
|
53
53
|
* // targetRegion: "STRING_VALUE",
|
|
54
54
|
* // alreadyImplemented: true || false,
|
|
55
|
+
* // excluded: true || false,
|
|
56
|
+
* // excludeReason: "STRING_VALUE",
|
|
55
57
|
* // },
|
|
56
58
|
* // ],
|
|
57
59
|
* // prerequisite: "STRING_VALUE",
|
|
60
|
+
* // appComponentNames: [ // AppComponentNameList
|
|
61
|
+
* // "STRING_VALUE",
|
|
62
|
+
* // ],
|
|
58
63
|
* // },
|
|
59
64
|
* // ],
|
|
60
65
|
* // nextToken: "STRING_VALUE",
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ListAppAssessmentComplianceDriftsRequest, ListAppAssessmentComplianceDriftsResponse } from "../models/models_0";
|
|
5
|
+
import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListAppAssessmentComplianceDriftsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAppAssessmentComplianceDriftsCommandInput extends ListAppAssessmentComplianceDriftsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListAppAssessmentComplianceDriftsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListAppAssessmentComplianceDriftsCommandOutput extends ListAppAssessmentComplianceDriftsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>List of compliance drifts that were detected while running an assessment.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { ResiliencehubClient, ListAppAssessmentComplianceDriftsCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import
|
|
31
|
+
* // const { ResiliencehubClient, ListAppAssessmentComplianceDriftsCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import
|
|
32
|
+
* const client = new ResiliencehubClient(config);
|
|
33
|
+
* const input = { // ListAppAssessmentComplianceDriftsRequest
|
|
34
|
+
* assessmentArn: "STRING_VALUE", // required
|
|
35
|
+
* nextToken: "STRING_VALUE",
|
|
36
|
+
* maxResults: Number("int"),
|
|
37
|
+
* };
|
|
38
|
+
* const command = new ListAppAssessmentComplianceDriftsCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // { // ListAppAssessmentComplianceDriftsResponse
|
|
41
|
+
* // complianceDrifts: [ // ComplianceDriftList // required
|
|
42
|
+
* // { // ComplianceDrift
|
|
43
|
+
* // entityId: "STRING_VALUE",
|
|
44
|
+
* // entityType: "STRING_VALUE",
|
|
45
|
+
* // driftType: "STRING_VALUE",
|
|
46
|
+
* // appId: "STRING_VALUE",
|
|
47
|
+
* // appVersion: "STRING_VALUE",
|
|
48
|
+
* // expectedReferenceId: "STRING_VALUE",
|
|
49
|
+
* // expectedValue: { // AssessmentCompliance
|
|
50
|
+
* // "<keys>": { // DisruptionCompliance
|
|
51
|
+
* // achievableRtoInSecs: Number("int"),
|
|
52
|
+
* // currentRtoInSecs: Number("int"),
|
|
53
|
+
* // rtoReferenceId: "STRING_VALUE",
|
|
54
|
+
* // rtoDescription: "STRING_VALUE",
|
|
55
|
+
* // currentRpoInSecs: Number("int"),
|
|
56
|
+
* // rpoReferenceId: "STRING_VALUE",
|
|
57
|
+
* // rpoDescription: "STRING_VALUE",
|
|
58
|
+
* // complianceStatus: "STRING_VALUE", // required
|
|
59
|
+
* // achievableRpoInSecs: Number("int"),
|
|
60
|
+
* // message: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // },
|
|
63
|
+
* // actualReferenceId: "STRING_VALUE",
|
|
64
|
+
* // actualValue: {
|
|
65
|
+
* // "<keys>": {
|
|
66
|
+
* // achievableRtoInSecs: Number("int"),
|
|
67
|
+
* // currentRtoInSecs: Number("int"),
|
|
68
|
+
* // rtoReferenceId: "STRING_VALUE",
|
|
69
|
+
* // rtoDescription: "STRING_VALUE",
|
|
70
|
+
* // currentRpoInSecs: Number("int"),
|
|
71
|
+
* // rpoReferenceId: "STRING_VALUE",
|
|
72
|
+
* // rpoDescription: "STRING_VALUE",
|
|
73
|
+
* // complianceStatus: "STRING_VALUE", // required
|
|
74
|
+
* // achievableRpoInSecs: Number("int"),
|
|
75
|
+
* // message: "STRING_VALUE",
|
|
76
|
+
* // },
|
|
77
|
+
* // },
|
|
78
|
+
* // diffType: "STRING_VALUE",
|
|
79
|
+
* // },
|
|
80
|
+
* // ],
|
|
81
|
+
* // nextToken: "STRING_VALUE",
|
|
82
|
+
* // };
|
|
83
|
+
*
|
|
84
|
+
* ```
|
|
85
|
+
*
|
|
86
|
+
* @param ListAppAssessmentComplianceDriftsCommandInput - {@link ListAppAssessmentComplianceDriftsCommandInput}
|
|
87
|
+
* @returns {@link ListAppAssessmentComplianceDriftsCommandOutput}
|
|
88
|
+
* @see {@link ListAppAssessmentComplianceDriftsCommandInput} for command's `input` shape.
|
|
89
|
+
* @see {@link ListAppAssessmentComplianceDriftsCommandOutput} for command's `response` shape.
|
|
90
|
+
* @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape.
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
93
|
+
* <p>You don't have permissions to perform the requested operation. The user or role that is
|
|
94
|
+
* making the request must have at least one IAM permissions policy attached that grants the
|
|
95
|
+
* required permissions.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link InternalServerException} (server fault)
|
|
98
|
+
* <p>This exception occurs when there is an internal failure in the Resilience Hub
|
|
99
|
+
* service.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
102
|
+
* <p>This exception occurs when you have exceeded the limit on the number of requests per second.</p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link ValidationException} (client fault)
|
|
105
|
+
* <p>This exception occurs when a request is not valid.</p>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link ResiliencehubServiceException}
|
|
108
|
+
* <p>Base exception class for all service exceptions from Resiliencehub service.</p>
|
|
109
|
+
*
|
|
110
|
+
*/
|
|
111
|
+
export declare class ListAppAssessmentComplianceDriftsCommand extends $Command<ListAppAssessmentComplianceDriftsCommandInput, ListAppAssessmentComplianceDriftsCommandOutput, ResiliencehubClientResolvedConfig> {
|
|
112
|
+
readonly input: ListAppAssessmentComplianceDriftsCommandInput;
|
|
113
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
114
|
+
/**
|
|
115
|
+
* @public
|
|
116
|
+
*/
|
|
117
|
+
constructor(input: ListAppAssessmentComplianceDriftsCommandInput);
|
|
118
|
+
/**
|
|
119
|
+
* @internal
|
|
120
|
+
*/
|
|
121
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResiliencehubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAppAssessmentComplianceDriftsCommandInput, ListAppAssessmentComplianceDriftsCommandOutput>;
|
|
122
|
+
/**
|
|
123
|
+
* @internal
|
|
124
|
+
*/
|
|
125
|
+
private serialize;
|
|
126
|
+
/**
|
|
127
|
+
* @internal
|
|
128
|
+
*/
|
|
129
|
+
private deserialize;
|
|
130
|
+
}
|
|
@@ -65,6 +65,8 @@ export interface ListAppAssessmentsCommandOutput extends ListAppAssessmentsRespo
|
|
|
65
65
|
* // frequency: "STRING_VALUE", // required
|
|
66
66
|
* // },
|
|
67
67
|
* // resiliencyScore: Number("double"),
|
|
68
|
+
* // versionName: "STRING_VALUE",
|
|
69
|
+
* // driftStatus: "STRING_VALUE",
|
|
68
70
|
* // },
|
|
69
71
|
* // ],
|
|
70
72
|
* // };
|
|
@@ -34,6 +34,8 @@ export interface ListAppVersionsCommandOutput extends ListAppVersionsResponse, _
|
|
|
34
34
|
* appArn: "STRING_VALUE", // required
|
|
35
35
|
* nextToken: "STRING_VALUE",
|
|
36
36
|
* maxResults: Number("int"),
|
|
37
|
+
* startTime: new Date("TIMESTAMP"),
|
|
38
|
+
* endTime: new Date("TIMESTAMP"),
|
|
37
39
|
* };
|
|
38
40
|
* const command = new ListAppVersionsCommand(input);
|
|
39
41
|
* const response = await client.send(command);
|
|
@@ -41,6 +43,9 @@ export interface ListAppVersionsCommandOutput extends ListAppVersionsResponse, _
|
|
|
41
43
|
* // appVersions: [ // AppVersionList // required
|
|
42
44
|
* // { // AppVersionSummary
|
|
43
45
|
* // appVersion: "STRING_VALUE", // required
|
|
46
|
+
* // identifier: Number("long"),
|
|
47
|
+
* // creationTime: new Date("TIMESTAMP"),
|
|
48
|
+
* // versionName: "STRING_VALUE",
|
|
44
49
|
* // },
|
|
45
50
|
* // ],
|
|
46
51
|
* // nextToken: "STRING_VALUE",
|
|
@@ -58,6 +58,7 @@ export interface ListAppsCommandOutput extends ListAppsResponse, __MetadataBeare
|
|
|
58
58
|
* // resiliencyScore: Number("double"),
|
|
59
59
|
* // assessmentSchedule: "STRING_VALUE",
|
|
60
60
|
* // status: "STRING_VALUE",
|
|
61
|
+
* // driftStatus: "STRING_VALUE",
|
|
61
62
|
* // },
|
|
62
63
|
* // ],
|
|
63
64
|
* // nextToken: "STRING_VALUE",
|
|
@@ -53,6 +53,8 @@ export interface ListSopRecommendationsCommandOutput extends ListSopRecommendati
|
|
|
53
53
|
* // targetAccountId: "STRING_VALUE",
|
|
54
54
|
* // targetRegion: "STRING_VALUE",
|
|
55
55
|
* // alreadyImplemented: true || false,
|
|
56
|
+
* // excluded: true || false,
|
|
57
|
+
* // excludeReason: "STRING_VALUE",
|
|
56
58
|
* // },
|
|
57
59
|
* // ],
|
|
58
60
|
* // referenceId: "STRING_VALUE", // required
|
|
@@ -55,6 +55,8 @@ export interface ListTestRecommendationsCommandOutput extends ListTestRecommenda
|
|
|
55
55
|
* // targetAccountId: "STRING_VALUE",
|
|
56
56
|
* // targetRegion: "STRING_VALUE",
|
|
57
57
|
* // alreadyImplemented: true || false,
|
|
58
|
+
* // excluded: true || false,
|
|
59
|
+
* // excludeReason: "STRING_VALUE",
|
|
58
60
|
* // },
|
|
59
61
|
* // ],
|
|
60
62
|
* // prerequisite: "STRING_VALUE",
|
|
@@ -32,12 +32,15 @@ export interface PublishAppVersionCommandOutput extends PublishAppVersionRespons
|
|
|
32
32
|
* const client = new ResiliencehubClient(config);
|
|
33
33
|
* const input = { // PublishAppVersionRequest
|
|
34
34
|
* appArn: "STRING_VALUE", // required
|
|
35
|
+
* versionName: "STRING_VALUE",
|
|
35
36
|
* };
|
|
36
37
|
* const command = new PublishAppVersionCommand(input);
|
|
37
38
|
* const response = await client.send(command);
|
|
38
39
|
* // { // PublishAppVersionResponse
|
|
39
40
|
* // appArn: "STRING_VALUE", // required
|
|
40
41
|
* // appVersion: "STRING_VALUE",
|
|
42
|
+
* // identifier: Number("long"),
|
|
43
|
+
* // versionName: "STRING_VALUE",
|
|
41
44
|
* // };
|
|
42
45
|
*
|
|
43
46
|
* ```
|
|
@@ -36,6 +36,20 @@ export interface UpdateAppCommandOutput extends UpdateAppResponse, __MetadataBea
|
|
|
36
36
|
* policyArn: "STRING_VALUE",
|
|
37
37
|
* clearResiliencyPolicyArn: true || false,
|
|
38
38
|
* assessmentSchedule: "STRING_VALUE",
|
|
39
|
+
* permissionModel: { // PermissionModel
|
|
40
|
+
* type: "STRING_VALUE", // required
|
|
41
|
+
* invokerRoleName: "STRING_VALUE",
|
|
42
|
+
* crossAccountRoleArns: [ // IamRoleArnList
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* },
|
|
46
|
+
* eventSubscriptions: [ // EventSubscriptionList
|
|
47
|
+
* { // EventSubscription
|
|
48
|
+
* name: "STRING_VALUE", // required
|
|
49
|
+
* eventType: "STRING_VALUE", // required
|
|
50
|
+
* snsTopicArn: "STRING_VALUE",
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
39
53
|
* };
|
|
40
54
|
* const command = new UpdateAppCommand(input);
|
|
41
55
|
* const response = await client.send(command);
|
|
@@ -55,6 +69,22 @@ export interface UpdateAppCommandOutput extends UpdateAppResponse, __MetadataBea
|
|
|
55
69
|
* // "<keys>": "STRING_VALUE",
|
|
56
70
|
* // },
|
|
57
71
|
* // assessmentSchedule: "STRING_VALUE",
|
|
72
|
+
* // permissionModel: { // PermissionModel
|
|
73
|
+
* // type: "STRING_VALUE", // required
|
|
74
|
+
* // invokerRoleName: "STRING_VALUE",
|
|
75
|
+
* // crossAccountRoleArns: [ // IamRoleArnList
|
|
76
|
+
* // "STRING_VALUE",
|
|
77
|
+
* // ],
|
|
78
|
+
* // },
|
|
79
|
+
* // eventSubscriptions: [ // EventSubscriptionList
|
|
80
|
+
* // { // EventSubscription
|
|
81
|
+
* // name: "STRING_VALUE", // required
|
|
82
|
+
* // eventType: "STRING_VALUE", // required
|
|
83
|
+
* // snsTopicArn: "STRING_VALUE",
|
|
84
|
+
* // },
|
|
85
|
+
* // ],
|
|
86
|
+
* // driftStatus: "STRING_VALUE",
|
|
87
|
+
* // lastDriftEvaluationTime: new Date("TIMESTAMP"),
|
|
58
88
|
* // },
|
|
59
89
|
* // };
|
|
60
90
|
*
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./AddDraftAppVersionResourceMappingsCommand";
|
|
2
|
+
export * from "./BatchUpdateRecommendationStatusCommand";
|
|
2
3
|
export * from "./CreateAppCommand";
|
|
3
4
|
export * from "./CreateAppVersionAppComponentCommand";
|
|
4
5
|
export * from "./CreateAppVersionResourceCommand";
|
|
@@ -22,6 +23,7 @@ export * from "./DescribeDraftAppVersionResourcesImportStatusCommand";
|
|
|
22
23
|
export * from "./DescribeResiliencyPolicyCommand";
|
|
23
24
|
export * from "./ImportResourcesToDraftAppVersionCommand";
|
|
24
25
|
export * from "./ListAlarmRecommendationsCommand";
|
|
26
|
+
export * from "./ListAppAssessmentComplianceDriftsCommand";
|
|
25
27
|
export * from "./ListAppAssessmentsCommand";
|
|
26
28
|
export * from "./ListAppComponentCompliancesCommand";
|
|
27
29
|
export * from "./ListAppComponentRecommendationsCommand";
|