@aws-sdk/client-drs 3.1110.0 → 3.1112.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 +147 -7
- package/dist-cjs/index.js +715 -5
- package/dist-es/Drs.js +48 -0
- package/dist-es/commands/CancelRecoveryPlanExecutionCommand.js +4 -0
- package/dist-es/commands/CreateRecoveryPlanCommand.js +4 -0
- package/dist-es/commands/CreateRecoveryPlanStepCommand.js +4 -0
- package/dist-es/commands/DeleteRecoveryPlanCommand.js +4 -0
- package/dist-es/commands/DeleteRecoveryPlanExecutionCommand.js +4 -0
- package/dist-es/commands/DeleteRecoveryPlanStepCommand.js +4 -0
- package/dist-es/commands/GetRecoveryPlanCommand.js +4 -0
- package/dist-es/commands/GetRecoveryPlanExecutionCommand.js +4 -0
- package/dist-es/commands/GetRecoveryPlanExecutionStepCommand.js +4 -0
- package/dist-es/commands/GetRecoveryPlanStepCommand.js +4 -0
- package/dist-es/commands/ListRecoveryPlanExecutionStepsCommand.js +4 -0
- package/dist-es/commands/ListRecoveryPlanExecutionsCommand.js +4 -0
- package/dist-es/commands/ListRecoveryPlanStepsCommand.js +4 -0
- package/dist-es/commands/ListRecoveryPlansCommand.js +4 -0
- package/dist-es/commands/ReorderRecoveryPlanStepsCommand.js +4 -0
- package/dist-es/commands/RetryRecoveryPlanExecutionStepCommand.js +4 -0
- package/dist-es/commands/StartRecoveryPlanExecutionCommand.js +4 -0
- package/dist-es/commands/UpdateRecoveryPlanCommand.js +4 -0
- package/dist-es/commands/UpdateRecoveryPlanExecutionStepCommand.js +4 -0
- package/dist-es/commands/UpdateRecoveryPlanStepCommand.js +4 -0
- package/dist-es/commands/index.js +20 -0
- package/dist-es/models/enums.js +29 -0
- package/dist-es/pagination/ListRecoveryPlanExecutionStepsPaginator.js +4 -0
- package/dist-es/pagination/ListRecoveryPlanExecutionsPaginator.js +4 -0
- package/dist-es/pagination/ListRecoveryPlanStepsPaginator.js +4 -0
- package/dist-es/pagination/ListRecoveryPlansPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/schemas/schemas_0.js +488 -4
- package/dist-types/Drs.d.ts +170 -0
- package/dist-types/DrsClient.d.ts +22 -2
- package/dist-types/commands/CancelRecoveryPlanExecutionCommand.d.ts +106 -0
- package/dist-types/commands/CreateRecoveryPlanCommand.d.ts +107 -0
- package/dist-types/commands/CreateRecoveryPlanStepCommand.d.ts +130 -0
- package/dist-types/commands/DeleteRecoveryPlanCommand.d.ts +92 -0
- package/dist-types/commands/DeleteRecoveryPlanExecutionCommand.d.ts +92 -0
- package/dist-types/commands/DeleteRecoveryPlanStepCommand.d.ts +92 -0
- package/dist-types/commands/GetRecoveryPlanCommand.d.ts +99 -0
- package/dist-types/commands/GetRecoveryPlanExecutionCommand.d.ts +103 -0
- package/dist-types/commands/GetRecoveryPlanExecutionStepCommand.d.ts +115 -0
- package/dist-types/commands/GetRecoveryPlanStepCommand.d.ts +108 -0
- package/dist-types/commands/ListRecoveryPlanExecutionStepsCommand.d.ts +120 -0
- package/dist-types/commands/ListRecoveryPlanExecutionsCommand.d.ts +102 -0
- package/dist-types/commands/ListRecoveryPlanStepsCommand.d.ts +113 -0
- package/dist-types/commands/ListRecoveryPlansCommand.d.ts +96 -0
- package/dist-types/commands/ReorderRecoveryPlanStepsCommand.d.ts +116 -0
- package/dist-types/commands/RetryRecoveryPlanExecutionStepCommand.d.ts +118 -0
- package/dist-types/commands/StartRecoveryPlanExecutionCommand.d.ts +120 -0
- package/dist-types/commands/UpdateRecoveryPlanCommand.d.ts +104 -0
- package/dist-types/commands/UpdateRecoveryPlanExecutionStepCommand.d.ts +126 -0
- package/dist-types/commands/UpdateRecoveryPlanStepCommand.d.ts +125 -0
- package/dist-types/commands/index.d.ts +20 -0
- package/dist-types/models/enums.d.ts +69 -0
- package/dist-types/models/models_0.d.ts +1049 -2
- package/dist-types/pagination/ListRecoveryPlanExecutionStepsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRecoveryPlanExecutionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRecoveryPlanStepsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRecoveryPlansPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/runtimeConfig.browser.d.ts +40 -40
- package/dist-types/runtimeConfig.d.ts +36 -36
- package/dist-types/runtimeConfig.native.d.ts +38 -38
- package/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/dist-types/schemas/schemas_0.d.ts +77 -0
- package/dist-types/ts3.4/Drs.d.ts +370 -0
- package/dist-types/ts3.4/DrsClient.d.ts +120 -0
- package/dist-types/ts3.4/commands/CancelRecoveryPlanExecutionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateRecoveryPlanCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateRecoveryPlanStepCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteRecoveryPlanCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteRecoveryPlanExecutionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteRecoveryPlanStepCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetRecoveryPlanCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetRecoveryPlanExecutionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetRecoveryPlanExecutionStepCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetRecoveryPlanStepCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListRecoveryPlanExecutionStepsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListRecoveryPlanExecutionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListRecoveryPlanStepsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListRecoveryPlansCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ReorderRecoveryPlanStepsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/RetryRecoveryPlanExecutionStepCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartRecoveryPlanExecutionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateRecoveryPlanCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateRecoveryPlanExecutionStepCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateRecoveryPlanStepCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +20 -0
- package/dist-types/ts3.4/models/enums.d.ts +38 -0
- package/dist-types/ts3.4/models/models_0.d.ts +299 -0
- package/dist-types/ts3.4/pagination/ListRecoveryPlanExecutionStepsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRecoveryPlanExecutionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRecoveryPlanStepsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRecoveryPlansPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
- package/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +60 -62
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +77 -0
- package/package.json +5 -5
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetRecoveryPlanExecutionStepRequest, GetRecoveryPlanExecutionStepResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetRecoveryPlanExecutionStepCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetRecoveryPlanExecutionStepCommandInput extends GetRecoveryPlanExecutionStepRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetRecoveryPlanExecutionStepCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetRecoveryPlanExecutionStepCommandOutput extends GetRecoveryPlanExecutionStepResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetRecoveryPlanExecutionStepCommand_base: {
|
|
22
|
+
new (input: GetRecoveryPlanExecutionStepCommandInput): import("@smithy/core/client").CommandImpl<GetRecoveryPlanExecutionStepCommandInput, GetRecoveryPlanExecutionStepCommandOutput, import("..").DrsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetRecoveryPlanExecutionStepCommandInput): import("@smithy/core/client").CommandImpl<GetRecoveryPlanExecutionStepCommandInput, GetRecoveryPlanExecutionStepCommandOutput, import("..").DrsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Gets the details of a step within a Recovery Plan execution.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { DrsClient, GetRecoveryPlanExecutionStepCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
32
|
+
* // const { DrsClient, GetRecoveryPlanExecutionStepCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
33
|
+
* // import type { DrsClientConfig } from "@aws-sdk/client-drs";
|
|
34
|
+
* const config = {}; // type is DrsClientConfig
|
|
35
|
+
* const client = new DrsClient(config);
|
|
36
|
+
* const input = { // GetRecoveryPlanExecutionStepRequest
|
|
37
|
+
* recoveryPlanExecutionStepArn: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetRecoveryPlanExecutionStepCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetRecoveryPlanExecutionStepResponse
|
|
42
|
+
* // recoveryPlanExecutionStep: { // RecoveryPlanExecutionStep
|
|
43
|
+
* // recoveryPlanExecutionStepArn: "STRING_VALUE", // required
|
|
44
|
+
* // stepIndex: Number("int"), // required
|
|
45
|
+
* // status: "STRING_VALUE", // required
|
|
46
|
+
* // stepName: "STRING_VALUE", // required
|
|
47
|
+
* // configuration: { // RecoveryPlanExecutionStepConfiguration Union: only one key present
|
|
48
|
+
* // executionServerStepConfiguration: { // ExecutionServerStepConfiguration
|
|
49
|
+
* // servers: [ // RecoveryPlanExecutionServers // required
|
|
50
|
+
* // { // RecoveryPlanExecutionServer
|
|
51
|
+
* // serverArn: "STRING_VALUE", // required
|
|
52
|
+
* // impactLevel: "STRING_VALUE",
|
|
53
|
+
* // jobID: "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // },
|
|
57
|
+
* // waitStepConfiguration: { // WaitStepConfiguration
|
|
58
|
+
* // waitDurationMinutes: Number("int"), // required
|
|
59
|
+
* // },
|
|
60
|
+
* // },
|
|
61
|
+
* // errorDetail: { // ErrorDetail
|
|
62
|
+
* // message: "STRING_VALUE", // required
|
|
63
|
+
* // code: "STRING_VALUE", // required
|
|
64
|
+
* // },
|
|
65
|
+
* // attempt: Number("int"), // required
|
|
66
|
+
* // createdAt: "STRING_VALUE", // required
|
|
67
|
+
* // updatedAt: "STRING_VALUE", // required
|
|
68
|
+
* // },
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @param GetRecoveryPlanExecutionStepCommandInput - {@link GetRecoveryPlanExecutionStepCommandInput}
|
|
74
|
+
* @returns {@link GetRecoveryPlanExecutionStepCommandOutput}
|
|
75
|
+
* @see {@link GetRecoveryPlanExecutionStepCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link GetRecoveryPlanExecutionStepCommandOutput} for command's `response` shape.
|
|
77
|
+
* @see {@link DrsClientResolvedConfig | config} for DrsClient's `config` shape.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
80
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link InternalServerException} (server fault)
|
|
83
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
86
|
+
* <p>The resource for this operation was not found.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
89
|
+
* <p>The request was denied due to request throttling.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link UninitializedAccountException} (client fault)
|
|
92
|
+
* <p>The account performing the request has not been initialized.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ValidationException} (client fault)
|
|
95
|
+
* <p>The input fails to satisfy the constraints specified by the AWS service.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link DrsServiceException}
|
|
98
|
+
* <p>Base exception class for all service exceptions from Drs service.</p>
|
|
99
|
+
*
|
|
100
|
+
*
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
export declare class GetRecoveryPlanExecutionStepCommand extends GetRecoveryPlanExecutionStepCommand_base {
|
|
104
|
+
/** @internal type navigation helper, not in runtime. */
|
|
105
|
+
protected static __types: {
|
|
106
|
+
api: {
|
|
107
|
+
input: GetRecoveryPlanExecutionStepRequest;
|
|
108
|
+
output: GetRecoveryPlanExecutionStepResponse;
|
|
109
|
+
};
|
|
110
|
+
sdk: {
|
|
111
|
+
input: GetRecoveryPlanExecutionStepCommandInput;
|
|
112
|
+
output: GetRecoveryPlanExecutionStepCommandOutput;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetRecoveryPlanStepRequest, GetRecoveryPlanStepResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetRecoveryPlanStepCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetRecoveryPlanStepCommandInput extends GetRecoveryPlanStepRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetRecoveryPlanStepCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetRecoveryPlanStepCommandOutput extends GetRecoveryPlanStepResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetRecoveryPlanStepCommand_base: {
|
|
22
|
+
new (input: GetRecoveryPlanStepCommandInput): import("@smithy/core/client").CommandImpl<GetRecoveryPlanStepCommandInput, GetRecoveryPlanStepCommandOutput, import("..").DrsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetRecoveryPlanStepCommandInput): import("@smithy/core/client").CommandImpl<GetRecoveryPlanStepCommandInput, GetRecoveryPlanStepCommandOutput, import("..").DrsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Gets a Recovery Plan step by ARN.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { DrsClient, GetRecoveryPlanStepCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
32
|
+
* // const { DrsClient, GetRecoveryPlanStepCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
33
|
+
* // import type { DrsClientConfig } from "@aws-sdk/client-drs";
|
|
34
|
+
* const config = {}; // type is DrsClientConfig
|
|
35
|
+
* const client = new DrsClient(config);
|
|
36
|
+
* const input = { // GetRecoveryPlanStepRequest
|
|
37
|
+
* recoveryPlanStepArn: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetRecoveryPlanStepCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetRecoveryPlanStepResponse
|
|
42
|
+
* // recoveryPlanStep: { // RecoveryPlanStep
|
|
43
|
+
* // recoveryPlanStepArn: "STRING_VALUE", // required
|
|
44
|
+
* // stepOrder: Number("int"), // required
|
|
45
|
+
* // stepName: "STRING_VALUE", // required
|
|
46
|
+
* // configuration: { // RecoveryPlanStepConfiguration Union: only one key present
|
|
47
|
+
* // serverStepConfiguration: { // ServerStepConfiguration
|
|
48
|
+
* // servers: [ // RecoveryPlanServers // required
|
|
49
|
+
* // { // RecoveryPlanServer
|
|
50
|
+
* // serverArn: "STRING_VALUE", // required
|
|
51
|
+
* // impactLevel: "STRING_VALUE",
|
|
52
|
+
* // },
|
|
53
|
+
* // ],
|
|
54
|
+
* // },
|
|
55
|
+
* // waitStepConfiguration: { // WaitStepConfiguration
|
|
56
|
+
* // waitDurationMinutes: Number("int"), // required
|
|
57
|
+
* // },
|
|
58
|
+
* // },
|
|
59
|
+
* // createdAt: "STRING_VALUE", // required
|
|
60
|
+
* // updatedAt: "STRING_VALUE", // required
|
|
61
|
+
* // },
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @param GetRecoveryPlanStepCommandInput - {@link GetRecoveryPlanStepCommandInput}
|
|
67
|
+
* @returns {@link GetRecoveryPlanStepCommandOutput}
|
|
68
|
+
* @see {@link GetRecoveryPlanStepCommandInput} for command's `input` shape.
|
|
69
|
+
* @see {@link GetRecoveryPlanStepCommandOutput} for command's `response` shape.
|
|
70
|
+
* @see {@link DrsClientResolvedConfig | config} for DrsClient's `config` shape.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
73
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InternalServerException} (server fault)
|
|
76
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
79
|
+
* <p>The resource for this operation was not found.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
82
|
+
* <p>The request was denied due to request throttling.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link UninitializedAccountException} (client fault)
|
|
85
|
+
* <p>The account performing the request has not been initialized.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ValidationException} (client fault)
|
|
88
|
+
* <p>The input fails to satisfy the constraints specified by the AWS service.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link DrsServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from Drs service.</p>
|
|
92
|
+
*
|
|
93
|
+
*
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export declare class GetRecoveryPlanStepCommand extends GetRecoveryPlanStepCommand_base {
|
|
97
|
+
/** @internal type navigation helper, not in runtime. */
|
|
98
|
+
protected static __types: {
|
|
99
|
+
api: {
|
|
100
|
+
input: GetRecoveryPlanStepRequest;
|
|
101
|
+
output: GetRecoveryPlanStepResponse;
|
|
102
|
+
};
|
|
103
|
+
sdk: {
|
|
104
|
+
input: GetRecoveryPlanStepCommandInput;
|
|
105
|
+
output: GetRecoveryPlanStepCommandOutput;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListRecoveryPlanExecutionStepsRequest, ListRecoveryPlanExecutionStepsResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListRecoveryPlanExecutionStepsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListRecoveryPlanExecutionStepsCommandInput extends ListRecoveryPlanExecutionStepsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListRecoveryPlanExecutionStepsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListRecoveryPlanExecutionStepsCommandOutput extends ListRecoveryPlanExecutionStepsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListRecoveryPlanExecutionStepsCommand_base: {
|
|
22
|
+
new (input: ListRecoveryPlanExecutionStepsCommandInput): import("@smithy/core/client").CommandImpl<ListRecoveryPlanExecutionStepsCommandInput, ListRecoveryPlanExecutionStepsCommandOutput, import("..").DrsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListRecoveryPlanExecutionStepsCommandInput): import("@smithy/core/client").CommandImpl<ListRecoveryPlanExecutionStepsCommandInput, ListRecoveryPlanExecutionStepsCommandOutput, import("..").DrsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Lists all steps within a Recovery Plan execution.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { DrsClient, ListRecoveryPlanExecutionStepsCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
32
|
+
* // const { DrsClient, ListRecoveryPlanExecutionStepsCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
33
|
+
* // import type { DrsClientConfig } from "@aws-sdk/client-drs";
|
|
34
|
+
* const config = {}; // type is DrsClientConfig
|
|
35
|
+
* const client = new DrsClient(config);
|
|
36
|
+
* const input = { // ListRecoveryPlanExecutionStepsRequest
|
|
37
|
+
* recoveryPlanExecutionArn: "STRING_VALUE", // required
|
|
38
|
+
* filter: { // ListRecoveryPlanExecutionStepsFilter
|
|
39
|
+
* status: "STRING_VALUE",
|
|
40
|
+
* },
|
|
41
|
+
* maxResults: Number("int"),
|
|
42
|
+
* nextToken: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListRecoveryPlanExecutionStepsCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListRecoveryPlanExecutionStepsResponse
|
|
47
|
+
* // recoveryPlanExecutionSteps: [ // RecoveryPlanExecutionStepSummaryList // required
|
|
48
|
+
* // { // RecoveryPlanExecutionStepSummary
|
|
49
|
+
* // recoveryPlanExecutionStepArn: "STRING_VALUE", // required
|
|
50
|
+
* // stepName: "STRING_VALUE", // required
|
|
51
|
+
* // stepIndex: Number("int"), // required
|
|
52
|
+
* // status: "STRING_VALUE", // required
|
|
53
|
+
* // configuration: { // RecoveryPlanExecutionStepConfiguration Union: only one key present
|
|
54
|
+
* // executionServerStepConfiguration: { // ExecutionServerStepConfiguration
|
|
55
|
+
* // servers: [ // RecoveryPlanExecutionServers // required
|
|
56
|
+
* // { // RecoveryPlanExecutionServer
|
|
57
|
+
* // serverArn: "STRING_VALUE", // required
|
|
58
|
+
* // impactLevel: "STRING_VALUE",
|
|
59
|
+
* // jobID: "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // },
|
|
63
|
+
* // waitStepConfiguration: { // WaitStepConfiguration
|
|
64
|
+
* // waitDurationMinutes: Number("int"), // required
|
|
65
|
+
* // },
|
|
66
|
+
* // },
|
|
67
|
+
* // errorDetail: { // ErrorDetail
|
|
68
|
+
* // message: "STRING_VALUE", // required
|
|
69
|
+
* // code: "STRING_VALUE", // required
|
|
70
|
+
* // },
|
|
71
|
+
* // },
|
|
72
|
+
* // ],
|
|
73
|
+
* // nextToken: "STRING_VALUE",
|
|
74
|
+
* // };
|
|
75
|
+
*
|
|
76
|
+
* ```
|
|
77
|
+
*
|
|
78
|
+
* @param ListRecoveryPlanExecutionStepsCommandInput - {@link ListRecoveryPlanExecutionStepsCommandInput}
|
|
79
|
+
* @returns {@link ListRecoveryPlanExecutionStepsCommandOutput}
|
|
80
|
+
* @see {@link ListRecoveryPlanExecutionStepsCommandInput} for command's `input` shape.
|
|
81
|
+
* @see {@link ListRecoveryPlanExecutionStepsCommandOutput} for command's `response` shape.
|
|
82
|
+
* @see {@link DrsClientResolvedConfig | config} for DrsClient's `config` shape.
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
85
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link InternalServerException} (server fault)
|
|
88
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
91
|
+
* <p>The resource for this operation was not found.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
94
|
+
* <p>The request was denied due to request throttling.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link UninitializedAccountException} (client fault)
|
|
97
|
+
* <p>The account performing the request has not been initialized.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link ValidationException} (client fault)
|
|
100
|
+
* <p>The input fails to satisfy the constraints specified by the AWS service.</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link DrsServiceException}
|
|
103
|
+
* <p>Base exception class for all service exceptions from Drs service.</p>
|
|
104
|
+
*
|
|
105
|
+
*
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export declare class ListRecoveryPlanExecutionStepsCommand extends ListRecoveryPlanExecutionStepsCommand_base {
|
|
109
|
+
/** @internal type navigation helper, not in runtime. */
|
|
110
|
+
protected static __types: {
|
|
111
|
+
api: {
|
|
112
|
+
input: ListRecoveryPlanExecutionStepsRequest;
|
|
113
|
+
output: ListRecoveryPlanExecutionStepsResponse;
|
|
114
|
+
};
|
|
115
|
+
sdk: {
|
|
116
|
+
input: ListRecoveryPlanExecutionStepsCommandInput;
|
|
117
|
+
output: ListRecoveryPlanExecutionStepsCommandOutput;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListRecoveryPlanExecutionsRequest, ListRecoveryPlanExecutionsResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListRecoveryPlanExecutionsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListRecoveryPlanExecutionsCommandInput extends ListRecoveryPlanExecutionsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListRecoveryPlanExecutionsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListRecoveryPlanExecutionsCommandOutput extends ListRecoveryPlanExecutionsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListRecoveryPlanExecutionsCommand_base: {
|
|
22
|
+
new (input: ListRecoveryPlanExecutionsCommandInput): import("@smithy/core/client").CommandImpl<ListRecoveryPlanExecutionsCommandInput, ListRecoveryPlanExecutionsCommandOutput, import("..").DrsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListRecoveryPlanExecutionsCommandInput]): import("@smithy/core/client").CommandImpl<ListRecoveryPlanExecutionsCommandInput, ListRecoveryPlanExecutionsCommandOutput, import("..").DrsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Lists executions of Recovery Plans, optionally filtered by plan or status.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { DrsClient, ListRecoveryPlanExecutionsCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
32
|
+
* // const { DrsClient, ListRecoveryPlanExecutionsCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
33
|
+
* // import type { DrsClientConfig } from "@aws-sdk/client-drs";
|
|
34
|
+
* const config = {}; // type is DrsClientConfig
|
|
35
|
+
* const client = new DrsClient(config);
|
|
36
|
+
* const input = { // ListRecoveryPlanExecutionsRequest
|
|
37
|
+
* recoveryPlanArn: "STRING_VALUE",
|
|
38
|
+
* status: "STRING_VALUE",
|
|
39
|
+
* maxResults: Number("int"),
|
|
40
|
+
* nextToken: "STRING_VALUE",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListRecoveryPlanExecutionsCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListRecoveryPlanExecutionsResponse
|
|
45
|
+
* // recoveryPlanExecutions: [ // RecoveryPlanExecutionSummaryList // required
|
|
46
|
+
* // { // RecoveryPlanExecutionSummary
|
|
47
|
+
* // recoveryPlanExecutionArn: "STRING_VALUE", // required
|
|
48
|
+
* // recoveryPlanArn: "STRING_VALUE", // required
|
|
49
|
+
* // mode: "STRING_VALUE", // required
|
|
50
|
+
* // status: "STRING_VALUE", // required
|
|
51
|
+
* // startedAt: "STRING_VALUE", // required
|
|
52
|
+
* // errorDetail: { // ErrorDetail
|
|
53
|
+
* // message: "STRING_VALUE", // required
|
|
54
|
+
* // code: "STRING_VALUE", // required
|
|
55
|
+
* // },
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // nextToken: "STRING_VALUE",
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param ListRecoveryPlanExecutionsCommandInput - {@link ListRecoveryPlanExecutionsCommandInput}
|
|
64
|
+
* @returns {@link ListRecoveryPlanExecutionsCommandOutput}
|
|
65
|
+
* @see {@link ListRecoveryPlanExecutionsCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link ListRecoveryPlanExecutionsCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link DrsClientResolvedConfig | config} for DrsClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
70
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link InternalServerException} (server fault)
|
|
73
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
76
|
+
* <p>The request was denied due to request throttling.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link UninitializedAccountException} (client fault)
|
|
79
|
+
* <p>The account performing the request has not been initialized.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ValidationException} (client fault)
|
|
82
|
+
* <p>The input fails to satisfy the constraints specified by the AWS service.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link DrsServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from Drs service.</p>
|
|
86
|
+
*
|
|
87
|
+
*
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export declare class ListRecoveryPlanExecutionsCommand extends ListRecoveryPlanExecutionsCommand_base {
|
|
91
|
+
/** @internal type navigation helper, not in runtime. */
|
|
92
|
+
protected static __types: {
|
|
93
|
+
api: {
|
|
94
|
+
input: ListRecoveryPlanExecutionsRequest;
|
|
95
|
+
output: ListRecoveryPlanExecutionsResponse;
|
|
96
|
+
};
|
|
97
|
+
sdk: {
|
|
98
|
+
input: ListRecoveryPlanExecutionsCommandInput;
|
|
99
|
+
output: ListRecoveryPlanExecutionsCommandOutput;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListRecoveryPlanStepsRequest, ListRecoveryPlanStepsResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListRecoveryPlanStepsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListRecoveryPlanStepsCommandInput extends ListRecoveryPlanStepsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListRecoveryPlanStepsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListRecoveryPlanStepsCommandOutput extends ListRecoveryPlanStepsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListRecoveryPlanStepsCommand_base: {
|
|
22
|
+
new (input: ListRecoveryPlanStepsCommandInput): import("@smithy/core/client").CommandImpl<ListRecoveryPlanStepsCommandInput, ListRecoveryPlanStepsCommandOutput, import("..").DrsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListRecoveryPlanStepsCommandInput): import("@smithy/core/client").CommandImpl<ListRecoveryPlanStepsCommandInput, ListRecoveryPlanStepsCommandOutput, import("..").DrsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Lists all steps in a Recovery Plan.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { DrsClient, ListRecoveryPlanStepsCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
32
|
+
* // const { DrsClient, ListRecoveryPlanStepsCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
33
|
+
* // import type { DrsClientConfig } from "@aws-sdk/client-drs";
|
|
34
|
+
* const config = {}; // type is DrsClientConfig
|
|
35
|
+
* const client = new DrsClient(config);
|
|
36
|
+
* const input = { // ListRecoveryPlanStepsRequest
|
|
37
|
+
* recoveryPlanArn: "STRING_VALUE", // required
|
|
38
|
+
* maxResults: Number("int"),
|
|
39
|
+
* nextToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListRecoveryPlanStepsCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListRecoveryPlanStepsResponse
|
|
44
|
+
* // recoveryPlanSteps: [ // RecoveryPlanStepList // required
|
|
45
|
+
* // { // RecoveryPlanStep
|
|
46
|
+
* // recoveryPlanStepArn: "STRING_VALUE", // required
|
|
47
|
+
* // stepOrder: Number("int"), // required
|
|
48
|
+
* // stepName: "STRING_VALUE", // required
|
|
49
|
+
* // configuration: { // RecoveryPlanStepConfiguration Union: only one key present
|
|
50
|
+
* // serverStepConfiguration: { // ServerStepConfiguration
|
|
51
|
+
* // servers: [ // RecoveryPlanServers // required
|
|
52
|
+
* // { // RecoveryPlanServer
|
|
53
|
+
* // serverArn: "STRING_VALUE", // required
|
|
54
|
+
* // impactLevel: "STRING_VALUE",
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // },
|
|
58
|
+
* // waitStepConfiguration: { // WaitStepConfiguration
|
|
59
|
+
* // waitDurationMinutes: Number("int"), // required
|
|
60
|
+
* // },
|
|
61
|
+
* // },
|
|
62
|
+
* // createdAt: "STRING_VALUE", // required
|
|
63
|
+
* // updatedAt: "STRING_VALUE", // required
|
|
64
|
+
* // },
|
|
65
|
+
* // ],
|
|
66
|
+
* // nextToken: "STRING_VALUE",
|
|
67
|
+
* // };
|
|
68
|
+
*
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* @param ListRecoveryPlanStepsCommandInput - {@link ListRecoveryPlanStepsCommandInput}
|
|
72
|
+
* @returns {@link ListRecoveryPlanStepsCommandOutput}
|
|
73
|
+
* @see {@link ListRecoveryPlanStepsCommandInput} for command's `input` shape.
|
|
74
|
+
* @see {@link ListRecoveryPlanStepsCommandOutput} for command's `response` shape.
|
|
75
|
+
* @see {@link DrsClientResolvedConfig | config} for DrsClient's `config` shape.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
78
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link InternalServerException} (server fault)
|
|
81
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
84
|
+
* <p>The resource for this operation was not found.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
87
|
+
* <p>The request was denied due to request throttling.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link UninitializedAccountException} (client fault)
|
|
90
|
+
* <p>The account performing the request has not been initialized.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ValidationException} (client fault)
|
|
93
|
+
* <p>The input fails to satisfy the constraints specified by the AWS service.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link DrsServiceException}
|
|
96
|
+
* <p>Base exception class for all service exceptions from Drs service.</p>
|
|
97
|
+
*
|
|
98
|
+
*
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export declare class ListRecoveryPlanStepsCommand extends ListRecoveryPlanStepsCommand_base {
|
|
102
|
+
/** @internal type navigation helper, not in runtime. */
|
|
103
|
+
protected static __types: {
|
|
104
|
+
api: {
|
|
105
|
+
input: ListRecoveryPlanStepsRequest;
|
|
106
|
+
output: ListRecoveryPlanStepsResponse;
|
|
107
|
+
};
|
|
108
|
+
sdk: {
|
|
109
|
+
input: ListRecoveryPlanStepsCommandInput;
|
|
110
|
+
output: ListRecoveryPlanStepsCommandOutput;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListRecoveryPlansRequest, ListRecoveryPlansResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListRecoveryPlansCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListRecoveryPlansCommandInput extends ListRecoveryPlansRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListRecoveryPlansCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListRecoveryPlansCommandOutput extends ListRecoveryPlansResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListRecoveryPlansCommand_base: {
|
|
22
|
+
new (input: ListRecoveryPlansCommandInput): import("@smithy/core/client").CommandImpl<ListRecoveryPlansCommandInput, ListRecoveryPlansCommandOutput, import("..").DrsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListRecoveryPlansCommandInput]): import("@smithy/core/client").CommandImpl<ListRecoveryPlansCommandInput, ListRecoveryPlansCommandOutput, import("..").DrsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Lists all Recovery Plans in the account.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { DrsClient, ListRecoveryPlansCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
32
|
+
* // const { DrsClient, ListRecoveryPlansCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
33
|
+
* // import type { DrsClientConfig } from "@aws-sdk/client-drs";
|
|
34
|
+
* const config = {}; // type is DrsClientConfig
|
|
35
|
+
* const client = new DrsClient(config);
|
|
36
|
+
* const input = { // ListRecoveryPlansRequest
|
|
37
|
+
* maxResults: Number("int"),
|
|
38
|
+
* nextToken: "STRING_VALUE",
|
|
39
|
+
* };
|
|
40
|
+
* const command = new ListRecoveryPlansCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // ListRecoveryPlansResponse
|
|
43
|
+
* // recoveryPlans: [ // RecoveryPlanSummaryList // required
|
|
44
|
+
* // { // RecoveryPlanSummary
|
|
45
|
+
* // recoveryPlanArn: "STRING_VALUE", // required
|
|
46
|
+
* // name: "STRING_VALUE", // required
|
|
47
|
+
* // status: "STRING_VALUE", // required
|
|
48
|
+
* // createdAt: "STRING_VALUE", // required
|
|
49
|
+
* // updatedAt: "STRING_VALUE", // required
|
|
50
|
+
* // },
|
|
51
|
+
* // ],
|
|
52
|
+
* // nextToken: "STRING_VALUE",
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param ListRecoveryPlansCommandInput - {@link ListRecoveryPlansCommandInput}
|
|
58
|
+
* @returns {@link ListRecoveryPlansCommandOutput}
|
|
59
|
+
* @see {@link ListRecoveryPlansCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link ListRecoveryPlansCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link DrsClientResolvedConfig | config} for DrsClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
64
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InternalServerException} (server fault)
|
|
67
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* <p>The request was denied due to request throttling.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link UninitializedAccountException} (client fault)
|
|
73
|
+
* <p>The account performing the request has not been initialized.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ValidationException} (client fault)
|
|
76
|
+
* <p>The input fails to satisfy the constraints specified by the AWS service.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link DrsServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from Drs service.</p>
|
|
80
|
+
*
|
|
81
|
+
*
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export declare class ListRecoveryPlansCommand extends ListRecoveryPlansCommand_base {
|
|
85
|
+
/** @internal type navigation helper, not in runtime. */
|
|
86
|
+
protected static __types: {
|
|
87
|
+
api: {
|
|
88
|
+
input: ListRecoveryPlansRequest;
|
|
89
|
+
output: ListRecoveryPlansResponse;
|
|
90
|
+
};
|
|
91
|
+
sdk: {
|
|
92
|
+
input: ListRecoveryPlansCommandInput;
|
|
93
|
+
output: ListRecoveryPlansCommandOutput;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
}
|