@aws-sdk/client-drs 3.1111.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.
Files changed (94) hide show
  1. package/README.md +147 -7
  2. package/dist-cjs/index.js +715 -5
  3. package/dist-es/Drs.js +48 -0
  4. package/dist-es/commands/CancelRecoveryPlanExecutionCommand.js +4 -0
  5. package/dist-es/commands/CreateRecoveryPlanCommand.js +4 -0
  6. package/dist-es/commands/CreateRecoveryPlanStepCommand.js +4 -0
  7. package/dist-es/commands/DeleteRecoveryPlanCommand.js +4 -0
  8. package/dist-es/commands/DeleteRecoveryPlanExecutionCommand.js +4 -0
  9. package/dist-es/commands/DeleteRecoveryPlanStepCommand.js +4 -0
  10. package/dist-es/commands/GetRecoveryPlanCommand.js +4 -0
  11. package/dist-es/commands/GetRecoveryPlanExecutionCommand.js +4 -0
  12. package/dist-es/commands/GetRecoveryPlanExecutionStepCommand.js +4 -0
  13. package/dist-es/commands/GetRecoveryPlanStepCommand.js +4 -0
  14. package/dist-es/commands/ListRecoveryPlanExecutionStepsCommand.js +4 -0
  15. package/dist-es/commands/ListRecoveryPlanExecutionsCommand.js +4 -0
  16. package/dist-es/commands/ListRecoveryPlanStepsCommand.js +4 -0
  17. package/dist-es/commands/ListRecoveryPlansCommand.js +4 -0
  18. package/dist-es/commands/ReorderRecoveryPlanStepsCommand.js +4 -0
  19. package/dist-es/commands/RetryRecoveryPlanExecutionStepCommand.js +4 -0
  20. package/dist-es/commands/StartRecoveryPlanExecutionCommand.js +4 -0
  21. package/dist-es/commands/UpdateRecoveryPlanCommand.js +4 -0
  22. package/dist-es/commands/UpdateRecoveryPlanExecutionStepCommand.js +4 -0
  23. package/dist-es/commands/UpdateRecoveryPlanStepCommand.js +4 -0
  24. package/dist-es/commands/index.js +20 -0
  25. package/dist-es/models/enums.js +29 -0
  26. package/dist-es/pagination/ListRecoveryPlanExecutionStepsPaginator.js +4 -0
  27. package/dist-es/pagination/ListRecoveryPlanExecutionsPaginator.js +4 -0
  28. package/dist-es/pagination/ListRecoveryPlanStepsPaginator.js +4 -0
  29. package/dist-es/pagination/ListRecoveryPlansPaginator.js +4 -0
  30. package/dist-es/pagination/index.js +4 -0
  31. package/dist-es/schemas/schemas_0.js +488 -4
  32. package/dist-types/Drs.d.ts +170 -0
  33. package/dist-types/DrsClient.d.ts +22 -2
  34. package/dist-types/commands/CancelRecoveryPlanExecutionCommand.d.ts +106 -0
  35. package/dist-types/commands/CreateRecoveryPlanCommand.d.ts +107 -0
  36. package/dist-types/commands/CreateRecoveryPlanStepCommand.d.ts +130 -0
  37. package/dist-types/commands/DeleteRecoveryPlanCommand.d.ts +92 -0
  38. package/dist-types/commands/DeleteRecoveryPlanExecutionCommand.d.ts +92 -0
  39. package/dist-types/commands/DeleteRecoveryPlanStepCommand.d.ts +92 -0
  40. package/dist-types/commands/GetRecoveryPlanCommand.d.ts +99 -0
  41. package/dist-types/commands/GetRecoveryPlanExecutionCommand.d.ts +103 -0
  42. package/dist-types/commands/GetRecoveryPlanExecutionStepCommand.d.ts +115 -0
  43. package/dist-types/commands/GetRecoveryPlanStepCommand.d.ts +108 -0
  44. package/dist-types/commands/ListRecoveryPlanExecutionStepsCommand.d.ts +120 -0
  45. package/dist-types/commands/ListRecoveryPlanExecutionsCommand.d.ts +102 -0
  46. package/dist-types/commands/ListRecoveryPlanStepsCommand.d.ts +113 -0
  47. package/dist-types/commands/ListRecoveryPlansCommand.d.ts +96 -0
  48. package/dist-types/commands/ReorderRecoveryPlanStepsCommand.d.ts +116 -0
  49. package/dist-types/commands/RetryRecoveryPlanExecutionStepCommand.d.ts +118 -0
  50. package/dist-types/commands/StartRecoveryPlanExecutionCommand.d.ts +120 -0
  51. package/dist-types/commands/UpdateRecoveryPlanCommand.d.ts +104 -0
  52. package/dist-types/commands/UpdateRecoveryPlanExecutionStepCommand.d.ts +126 -0
  53. package/dist-types/commands/UpdateRecoveryPlanStepCommand.d.ts +125 -0
  54. package/dist-types/commands/index.d.ts +20 -0
  55. package/dist-types/models/enums.d.ts +69 -0
  56. package/dist-types/models/models_0.d.ts +1049 -2
  57. package/dist-types/pagination/ListRecoveryPlanExecutionStepsPaginator.d.ts +7 -0
  58. package/dist-types/pagination/ListRecoveryPlanExecutionsPaginator.d.ts +7 -0
  59. package/dist-types/pagination/ListRecoveryPlanStepsPaginator.d.ts +7 -0
  60. package/dist-types/pagination/ListRecoveryPlansPaginator.d.ts +7 -0
  61. package/dist-types/pagination/index.d.ts +4 -0
  62. package/dist-types/schemas/schemas_0.d.ts +77 -0
  63. package/dist-types/ts3.4/Drs.d.ts +370 -0
  64. package/dist-types/ts3.4/DrsClient.d.ts +120 -0
  65. package/dist-types/ts3.4/commands/CancelRecoveryPlanExecutionCommand.d.ts +42 -0
  66. package/dist-types/ts3.4/commands/CreateRecoveryPlanCommand.d.ts +39 -0
  67. package/dist-types/ts3.4/commands/CreateRecoveryPlanStepCommand.d.ts +39 -0
  68. package/dist-types/ts3.4/commands/DeleteRecoveryPlanCommand.d.ts +39 -0
  69. package/dist-types/ts3.4/commands/DeleteRecoveryPlanExecutionCommand.d.ts +42 -0
  70. package/dist-types/ts3.4/commands/DeleteRecoveryPlanStepCommand.d.ts +39 -0
  71. package/dist-types/ts3.4/commands/GetRecoveryPlanCommand.d.ts +38 -0
  72. package/dist-types/ts3.4/commands/GetRecoveryPlanExecutionCommand.d.ts +42 -0
  73. package/dist-types/ts3.4/commands/GetRecoveryPlanExecutionStepCommand.d.ts +42 -0
  74. package/dist-types/ts3.4/commands/GetRecoveryPlanStepCommand.d.ts +39 -0
  75. package/dist-types/ts3.4/commands/ListRecoveryPlanExecutionStepsCommand.d.ts +42 -0
  76. package/dist-types/ts3.4/commands/ListRecoveryPlanExecutionsCommand.d.ts +42 -0
  77. package/dist-types/ts3.4/commands/ListRecoveryPlanStepsCommand.d.ts +39 -0
  78. package/dist-types/ts3.4/commands/ListRecoveryPlansCommand.d.ts +39 -0
  79. package/dist-types/ts3.4/commands/ReorderRecoveryPlanStepsCommand.d.ts +42 -0
  80. package/dist-types/ts3.4/commands/RetryRecoveryPlanExecutionStepCommand.d.ts +42 -0
  81. package/dist-types/ts3.4/commands/StartRecoveryPlanExecutionCommand.d.ts +42 -0
  82. package/dist-types/ts3.4/commands/UpdateRecoveryPlanCommand.d.ts +39 -0
  83. package/dist-types/ts3.4/commands/UpdateRecoveryPlanExecutionStepCommand.d.ts +42 -0
  84. package/dist-types/ts3.4/commands/UpdateRecoveryPlanStepCommand.d.ts +39 -0
  85. package/dist-types/ts3.4/commands/index.d.ts +20 -0
  86. package/dist-types/ts3.4/models/enums.d.ts +38 -0
  87. package/dist-types/ts3.4/models/models_0.d.ts +299 -0
  88. package/dist-types/ts3.4/pagination/ListRecoveryPlanExecutionStepsPaginator.d.ts +11 -0
  89. package/dist-types/ts3.4/pagination/ListRecoveryPlanExecutionsPaginator.d.ts +11 -0
  90. package/dist-types/ts3.4/pagination/ListRecoveryPlanStepsPaginator.d.ts +11 -0
  91. package/dist-types/ts3.4/pagination/ListRecoveryPlansPaginator.d.ts +11 -0
  92. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  93. package/dist-types/ts3.4/schemas/schemas_0.d.ts +77 -0
  94. package/package.json +1 -1
@@ -0,0 +1,130 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { CreateRecoveryPlanStepRequest, CreateRecoveryPlanStepResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link CreateRecoveryPlanStepCommand}.
11
+ */
12
+ export interface CreateRecoveryPlanStepCommandInput extends CreateRecoveryPlanStepRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link CreateRecoveryPlanStepCommand}.
18
+ */
19
+ export interface CreateRecoveryPlanStepCommandOutput extends CreateRecoveryPlanStepResponse, __MetadataBearer {
20
+ }
21
+ declare const CreateRecoveryPlanStepCommand_base: {
22
+ new (input: CreateRecoveryPlanStepCommandInput): import("@smithy/core/client").CommandImpl<CreateRecoveryPlanStepCommandInput, CreateRecoveryPlanStepCommandOutput, import("..").DrsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateRecoveryPlanStepCommandInput): import("@smithy/core/client").CommandImpl<CreateRecoveryPlanStepCommandInput, CreateRecoveryPlanStepCommandOutput, import("..").DrsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Creates a step in a Recovery Plan. A step is either <code>SERVER</code> type (servers to recover in parallel) or <code>WAIT</code> type (timed pause between steps).</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { DrsClient, CreateRecoveryPlanStepCommand } from "@aws-sdk/client-drs"; // ES Modules import
32
+ * // const { DrsClient, CreateRecoveryPlanStepCommand } = 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 = { // CreateRecoveryPlanStepRequest
37
+ * recoveryPlanArn: "STRING_VALUE", // required
38
+ * stepName: "STRING_VALUE", // required
39
+ * stepOrder: Number("int"),
40
+ * configuration: { // RecoveryPlanStepConfiguration Union: only one key present
41
+ * serverStepConfiguration: { // ServerStepConfiguration
42
+ * servers: [ // RecoveryPlanServers // required
43
+ * { // RecoveryPlanServer
44
+ * serverArn: "STRING_VALUE", // required
45
+ * impactLevel: "STRING_VALUE",
46
+ * },
47
+ * ],
48
+ * },
49
+ * waitStepConfiguration: { // WaitStepConfiguration
50
+ * waitDurationMinutes: Number("int"), // required
51
+ * },
52
+ * },
53
+ * clientToken: "STRING_VALUE",
54
+ * };
55
+ * const command = new CreateRecoveryPlanStepCommand(input);
56
+ * const response = await client.send(command);
57
+ * // { // CreateRecoveryPlanStepResponse
58
+ * // recoveryPlanStep: { // RecoveryPlanStep
59
+ * // recoveryPlanStepArn: "STRING_VALUE", // required
60
+ * // stepOrder: Number("int"), // required
61
+ * // stepName: "STRING_VALUE", // required
62
+ * // configuration: { // RecoveryPlanStepConfiguration Union: only one key present
63
+ * // serverStepConfiguration: { // ServerStepConfiguration
64
+ * // servers: [ // RecoveryPlanServers // required
65
+ * // { // RecoveryPlanServer
66
+ * // serverArn: "STRING_VALUE", // required
67
+ * // impactLevel: "STRING_VALUE",
68
+ * // },
69
+ * // ],
70
+ * // },
71
+ * // waitStepConfiguration: { // WaitStepConfiguration
72
+ * // waitDurationMinutes: Number("int"), // required
73
+ * // },
74
+ * // },
75
+ * // createdAt: "STRING_VALUE", // required
76
+ * // updatedAt: "STRING_VALUE", // required
77
+ * // },
78
+ * // };
79
+ *
80
+ * ```
81
+ *
82
+ * @param CreateRecoveryPlanStepCommandInput - {@link CreateRecoveryPlanStepCommandInput}
83
+ * @returns {@link CreateRecoveryPlanStepCommandOutput}
84
+ * @see {@link CreateRecoveryPlanStepCommandInput} for command's `input` shape.
85
+ * @see {@link CreateRecoveryPlanStepCommandOutput} for command's `response` shape.
86
+ * @see {@link DrsClientResolvedConfig | config} for DrsClient's `config` shape.
87
+ *
88
+ * @throws {@link AccessDeniedException} (client fault)
89
+ * <p>You do not have sufficient access to perform this action.</p>
90
+ *
91
+ * @throws {@link ConflictException} (client fault)
92
+ * <p>The request could not be completed due to a conflict with the current state of the target resource.</p>
93
+ *
94
+ * @throws {@link InternalServerException} (server fault)
95
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
96
+ *
97
+ * @throws {@link ResourceNotFoundException} (client fault)
98
+ * <p>The resource for this operation was not found.</p>
99
+ *
100
+ * @throws {@link ServiceQuotaExceededException} (client fault)
101
+ * <p>The request could not be completed because its exceeded the service quota.</p>
102
+ *
103
+ * @throws {@link ThrottlingException} (client fault)
104
+ * <p>The request was denied due to request throttling.</p>
105
+ *
106
+ * @throws {@link UninitializedAccountException} (client fault)
107
+ * <p>The account performing the request has not been initialized.</p>
108
+ *
109
+ * @throws {@link ValidationException} (client fault)
110
+ * <p>The input fails to satisfy the constraints specified by the AWS service.</p>
111
+ *
112
+ * @throws {@link DrsServiceException}
113
+ * <p>Base exception class for all service exceptions from Drs service.</p>
114
+ *
115
+ *
116
+ * @public
117
+ */
118
+ export declare class CreateRecoveryPlanStepCommand extends CreateRecoveryPlanStepCommand_base {
119
+ /** @internal type navigation helper, not in runtime. */
120
+ protected static __types: {
121
+ api: {
122
+ input: CreateRecoveryPlanStepRequest;
123
+ output: CreateRecoveryPlanStepResponse;
124
+ };
125
+ sdk: {
126
+ input: CreateRecoveryPlanStepCommandInput;
127
+ output: CreateRecoveryPlanStepCommandOutput;
128
+ };
129
+ };
130
+ }
@@ -0,0 +1,92 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteRecoveryPlanRequest, DeleteRecoveryPlanResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteRecoveryPlanCommand}.
11
+ */
12
+ export interface DeleteRecoveryPlanCommandInput extends DeleteRecoveryPlanRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteRecoveryPlanCommand}.
18
+ */
19
+ export interface DeleteRecoveryPlanCommandOutput extends DeleteRecoveryPlanResponse, __MetadataBearer {
20
+ }
21
+ declare const DeleteRecoveryPlanCommand_base: {
22
+ new (input: DeleteRecoveryPlanCommandInput): import("@smithy/core/client").CommandImpl<DeleteRecoveryPlanCommandInput, DeleteRecoveryPlanCommandOutput, import("..").DrsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteRecoveryPlanCommandInput): import("@smithy/core/client").CommandImpl<DeleteRecoveryPlanCommandInput, DeleteRecoveryPlanCommandOutput, import("..").DrsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Deletes a Recovery Plan. Cannot delete a plan that has an execution in a non-terminal status (<code>CREATED</code>, <code>IN_PROGRESS</code>).</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { DrsClient, DeleteRecoveryPlanCommand } from "@aws-sdk/client-drs"; // ES Modules import
32
+ * // const { DrsClient, DeleteRecoveryPlanCommand } = 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 = { // DeleteRecoveryPlanRequest
37
+ * recoveryPlanArn: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DeleteRecoveryPlanCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // DeleteRecoveryPlanResponse
42
+ * // recoveryPlanArn: "STRING_VALUE", // required
43
+ * // };
44
+ *
45
+ * ```
46
+ *
47
+ * @param DeleteRecoveryPlanCommandInput - {@link DeleteRecoveryPlanCommandInput}
48
+ * @returns {@link DeleteRecoveryPlanCommandOutput}
49
+ * @see {@link DeleteRecoveryPlanCommandInput} for command's `input` shape.
50
+ * @see {@link DeleteRecoveryPlanCommandOutput} for command's `response` shape.
51
+ * @see {@link DrsClientResolvedConfig | config} for DrsClient's `config` shape.
52
+ *
53
+ * @throws {@link AccessDeniedException} (client fault)
54
+ * <p>You do not have sufficient access to perform this action.</p>
55
+ *
56
+ * @throws {@link ConflictException} (client fault)
57
+ * <p>The request could not be completed due to a conflict with the current state of the target resource.</p>
58
+ *
59
+ * @throws {@link InternalServerException} (server fault)
60
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
61
+ *
62
+ * @throws {@link ResourceNotFoundException} (client fault)
63
+ * <p>The resource for this operation was not found.</p>
64
+ *
65
+ * @throws {@link ThrottlingException} (client fault)
66
+ * <p>The request was denied due to request throttling.</p>
67
+ *
68
+ * @throws {@link UninitializedAccountException} (client fault)
69
+ * <p>The account performing the request has not been initialized.</p>
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * <p>The input fails to satisfy the constraints specified by the AWS service.</p>
73
+ *
74
+ * @throws {@link DrsServiceException}
75
+ * <p>Base exception class for all service exceptions from Drs service.</p>
76
+ *
77
+ *
78
+ * @public
79
+ */
80
+ export declare class DeleteRecoveryPlanCommand extends DeleteRecoveryPlanCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: DeleteRecoveryPlanRequest;
85
+ output: DeleteRecoveryPlanResponse;
86
+ };
87
+ sdk: {
88
+ input: DeleteRecoveryPlanCommandInput;
89
+ output: DeleteRecoveryPlanCommandOutput;
90
+ };
91
+ };
92
+ }
@@ -0,0 +1,92 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteRecoveryPlanExecutionRequest, DeleteRecoveryPlanExecutionResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteRecoveryPlanExecutionCommand}.
11
+ */
12
+ export interface DeleteRecoveryPlanExecutionCommandInput extends DeleteRecoveryPlanExecutionRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteRecoveryPlanExecutionCommand}.
18
+ */
19
+ export interface DeleteRecoveryPlanExecutionCommandOutput extends DeleteRecoveryPlanExecutionResponse, __MetadataBearer {
20
+ }
21
+ declare const DeleteRecoveryPlanExecutionCommand_base: {
22
+ new (input: DeleteRecoveryPlanExecutionCommandInput): import("@smithy/core/client").CommandImpl<DeleteRecoveryPlanExecutionCommandInput, DeleteRecoveryPlanExecutionCommandOutput, import("..").DrsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteRecoveryPlanExecutionCommandInput): import("@smithy/core/client").CommandImpl<DeleteRecoveryPlanExecutionCommandInput, DeleteRecoveryPlanExecutionCommandOutput, import("..").DrsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Deletes a Recovery Plan execution record. Must be in a terminal 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, DeleteRecoveryPlanExecutionCommand } from "@aws-sdk/client-drs"; // ES Modules import
32
+ * // const { DrsClient, DeleteRecoveryPlanExecutionCommand } = 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 = { // DeleteRecoveryPlanExecutionRequest
37
+ * recoveryPlanExecutionArn: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DeleteRecoveryPlanExecutionCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // DeleteRecoveryPlanExecutionResponse
42
+ * // recoveryPlanExecutionArn: "STRING_VALUE", // required
43
+ * // };
44
+ *
45
+ * ```
46
+ *
47
+ * @param DeleteRecoveryPlanExecutionCommandInput - {@link DeleteRecoveryPlanExecutionCommandInput}
48
+ * @returns {@link DeleteRecoveryPlanExecutionCommandOutput}
49
+ * @see {@link DeleteRecoveryPlanExecutionCommandInput} for command's `input` shape.
50
+ * @see {@link DeleteRecoveryPlanExecutionCommandOutput} for command's `response` shape.
51
+ * @see {@link DrsClientResolvedConfig | config} for DrsClient's `config` shape.
52
+ *
53
+ * @throws {@link AccessDeniedException} (client fault)
54
+ * <p>You do not have sufficient access to perform this action.</p>
55
+ *
56
+ * @throws {@link ConflictException} (client fault)
57
+ * <p>The request could not be completed due to a conflict with the current state of the target resource.</p>
58
+ *
59
+ * @throws {@link InternalServerException} (server fault)
60
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
61
+ *
62
+ * @throws {@link ResourceNotFoundException} (client fault)
63
+ * <p>The resource for this operation was not found.</p>
64
+ *
65
+ * @throws {@link ThrottlingException} (client fault)
66
+ * <p>The request was denied due to request throttling.</p>
67
+ *
68
+ * @throws {@link UninitializedAccountException} (client fault)
69
+ * <p>The account performing the request has not been initialized.</p>
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * <p>The input fails to satisfy the constraints specified by the AWS service.</p>
73
+ *
74
+ * @throws {@link DrsServiceException}
75
+ * <p>Base exception class for all service exceptions from Drs service.</p>
76
+ *
77
+ *
78
+ * @public
79
+ */
80
+ export declare class DeleteRecoveryPlanExecutionCommand extends DeleteRecoveryPlanExecutionCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: DeleteRecoveryPlanExecutionRequest;
85
+ output: DeleteRecoveryPlanExecutionResponse;
86
+ };
87
+ sdk: {
88
+ input: DeleteRecoveryPlanExecutionCommandInput;
89
+ output: DeleteRecoveryPlanExecutionCommandOutput;
90
+ };
91
+ };
92
+ }
@@ -0,0 +1,92 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteRecoveryPlanStepRequest, DeleteRecoveryPlanStepResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteRecoveryPlanStepCommand}.
11
+ */
12
+ export interface DeleteRecoveryPlanStepCommandInput extends DeleteRecoveryPlanStepRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteRecoveryPlanStepCommand}.
18
+ */
19
+ export interface DeleteRecoveryPlanStepCommandOutput extends DeleteRecoveryPlanStepResponse, __MetadataBearer {
20
+ }
21
+ declare const DeleteRecoveryPlanStepCommand_base: {
22
+ new (input: DeleteRecoveryPlanStepCommandInput): import("@smithy/core/client").CommandImpl<DeleteRecoveryPlanStepCommandInput, DeleteRecoveryPlanStepCommandOutput, import("..").DrsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteRecoveryPlanStepCommandInput): import("@smithy/core/client").CommandImpl<DeleteRecoveryPlanStepCommandInput, DeleteRecoveryPlanStepCommandOutput, import("..").DrsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Deletes a step from 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, DeleteRecoveryPlanStepCommand } from "@aws-sdk/client-drs"; // ES Modules import
32
+ * // const { DrsClient, DeleteRecoveryPlanStepCommand } = 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 = { // DeleteRecoveryPlanStepRequest
37
+ * recoveryPlanStepArn: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DeleteRecoveryPlanStepCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // DeleteRecoveryPlanStepResponse
42
+ * // recoveryPlanStepArn: "STRING_VALUE", // required
43
+ * // };
44
+ *
45
+ * ```
46
+ *
47
+ * @param DeleteRecoveryPlanStepCommandInput - {@link DeleteRecoveryPlanStepCommandInput}
48
+ * @returns {@link DeleteRecoveryPlanStepCommandOutput}
49
+ * @see {@link DeleteRecoveryPlanStepCommandInput} for command's `input` shape.
50
+ * @see {@link DeleteRecoveryPlanStepCommandOutput} for command's `response` shape.
51
+ * @see {@link DrsClientResolvedConfig | config} for DrsClient's `config` shape.
52
+ *
53
+ * @throws {@link AccessDeniedException} (client fault)
54
+ * <p>You do not have sufficient access to perform this action.</p>
55
+ *
56
+ * @throws {@link ConflictException} (client fault)
57
+ * <p>The request could not be completed due to a conflict with the current state of the target resource.</p>
58
+ *
59
+ * @throws {@link InternalServerException} (server fault)
60
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
61
+ *
62
+ * @throws {@link ResourceNotFoundException} (client fault)
63
+ * <p>The resource for this operation was not found.</p>
64
+ *
65
+ * @throws {@link ThrottlingException} (client fault)
66
+ * <p>The request was denied due to request throttling.</p>
67
+ *
68
+ * @throws {@link UninitializedAccountException} (client fault)
69
+ * <p>The account performing the request has not been initialized.</p>
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * <p>The input fails to satisfy the constraints specified by the AWS service.</p>
73
+ *
74
+ * @throws {@link DrsServiceException}
75
+ * <p>Base exception class for all service exceptions from Drs service.</p>
76
+ *
77
+ *
78
+ * @public
79
+ */
80
+ export declare class DeleteRecoveryPlanStepCommand extends DeleteRecoveryPlanStepCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: DeleteRecoveryPlanStepRequest;
85
+ output: DeleteRecoveryPlanStepResponse;
86
+ };
87
+ sdk: {
88
+ input: DeleteRecoveryPlanStepCommandInput;
89
+ output: DeleteRecoveryPlanStepCommandOutput;
90
+ };
91
+ };
92
+ }
@@ -0,0 +1,99 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetRecoveryPlanRequest, GetRecoveryPlanResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetRecoveryPlanCommand}.
11
+ */
12
+ export interface GetRecoveryPlanCommandInput extends GetRecoveryPlanRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetRecoveryPlanCommand}.
18
+ */
19
+ export interface GetRecoveryPlanCommandOutput extends GetRecoveryPlanResponse, __MetadataBearer {
20
+ }
21
+ declare const GetRecoveryPlanCommand_base: {
22
+ new (input: GetRecoveryPlanCommandInput): import("@smithy/core/client").CommandImpl<GetRecoveryPlanCommandInput, GetRecoveryPlanCommandOutput, import("..").DrsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetRecoveryPlanCommandInput): import("@smithy/core/client").CommandImpl<GetRecoveryPlanCommandInput, GetRecoveryPlanCommandOutput, import("..").DrsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Gets a Recovery Plan 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, GetRecoveryPlanCommand } from "@aws-sdk/client-drs"; // ES Modules import
32
+ * // const { DrsClient, GetRecoveryPlanCommand } = 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 = { // GetRecoveryPlanRequest
37
+ * recoveryPlanArn: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new GetRecoveryPlanCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // GetRecoveryPlanResponse
42
+ * // recoveryPlan: { // RecoveryPlan
43
+ * // recoveryPlanArn: "STRING_VALUE", // required
44
+ * // name: "STRING_VALUE", // required
45
+ * // description: "STRING_VALUE",
46
+ * // status: "STRING_VALUE", // required
47
+ * // createdAt: "STRING_VALUE", // required
48
+ * // updatedAt: "STRING_VALUE", // required
49
+ * // tags: { // TagsMap
50
+ * // "<keys>": "STRING_VALUE",
51
+ * // },
52
+ * // },
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param GetRecoveryPlanCommandInput - {@link GetRecoveryPlanCommandInput}
58
+ * @returns {@link GetRecoveryPlanCommandOutput}
59
+ * @see {@link GetRecoveryPlanCommandInput} for command's `input` shape.
60
+ * @see {@link GetRecoveryPlanCommandOutput} 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 ResourceNotFoundException} (client fault)
70
+ * <p>The resource for this operation was not found.</p>
71
+ *
72
+ * @throws {@link ThrottlingException} (client fault)
73
+ * <p>The request was denied due to request throttling.</p>
74
+ *
75
+ * @throws {@link UninitializedAccountException} (client fault)
76
+ * <p>The account performing the request has not been initialized.</p>
77
+ *
78
+ * @throws {@link ValidationException} (client fault)
79
+ * <p>The input fails to satisfy the constraints specified by the AWS service.</p>
80
+ *
81
+ * @throws {@link DrsServiceException}
82
+ * <p>Base exception class for all service exceptions from Drs service.</p>
83
+ *
84
+ *
85
+ * @public
86
+ */
87
+ export declare class GetRecoveryPlanCommand extends GetRecoveryPlanCommand_base {
88
+ /** @internal type navigation helper, not in runtime. */
89
+ protected static __types: {
90
+ api: {
91
+ input: GetRecoveryPlanRequest;
92
+ output: GetRecoveryPlanResponse;
93
+ };
94
+ sdk: {
95
+ input: GetRecoveryPlanCommandInput;
96
+ output: GetRecoveryPlanCommandOutput;
97
+ };
98
+ };
99
+ }
@@ -0,0 +1,103 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetRecoveryPlanExecutionRequest, GetRecoveryPlanExecutionResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetRecoveryPlanExecutionCommand}.
11
+ */
12
+ export interface GetRecoveryPlanExecutionCommandInput extends GetRecoveryPlanExecutionRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetRecoveryPlanExecutionCommand}.
18
+ */
19
+ export interface GetRecoveryPlanExecutionCommandOutput extends GetRecoveryPlanExecutionResponse, __MetadataBearer {
20
+ }
21
+ declare const GetRecoveryPlanExecutionCommand_base: {
22
+ new (input: GetRecoveryPlanExecutionCommandInput): import("@smithy/core/client").CommandImpl<GetRecoveryPlanExecutionCommandInput, GetRecoveryPlanExecutionCommandOutput, import("..").DrsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetRecoveryPlanExecutionCommandInput): import("@smithy/core/client").CommandImpl<GetRecoveryPlanExecutionCommandInput, GetRecoveryPlanExecutionCommandOutput, import("..").DrsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Gets the details of 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, GetRecoveryPlanExecutionCommand } from "@aws-sdk/client-drs"; // ES Modules import
32
+ * // const { DrsClient, GetRecoveryPlanExecutionCommand } = 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 = { // GetRecoveryPlanExecutionRequest
37
+ * recoveryPlanExecutionArn: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new GetRecoveryPlanExecutionCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // GetRecoveryPlanExecutionResponse
42
+ * // recoveryPlanExecution: { // RecoveryPlanExecution
43
+ * // recoveryPlanExecutionArn: "STRING_VALUE", // required
44
+ * // recoveryPlanArn: "STRING_VALUE", // required
45
+ * // mode: "STRING_VALUE", // required
46
+ * // status: "STRING_VALUE", // required
47
+ * // startedAt: "STRING_VALUE", // required
48
+ * // completedAt: "STRING_VALUE",
49
+ * // errorDetail: { // ErrorDetail
50
+ * // message: "STRING_VALUE", // required
51
+ * // code: "STRING_VALUE", // required
52
+ * // },
53
+ * // tags: { // TagsMap
54
+ * // "<keys>": "STRING_VALUE",
55
+ * // },
56
+ * // },
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param GetRecoveryPlanExecutionCommandInput - {@link GetRecoveryPlanExecutionCommandInput}
62
+ * @returns {@link GetRecoveryPlanExecutionCommandOutput}
63
+ * @see {@link GetRecoveryPlanExecutionCommandInput} for command's `input` shape.
64
+ * @see {@link GetRecoveryPlanExecutionCommandOutput} for command's `response` shape.
65
+ * @see {@link DrsClientResolvedConfig | config} for DrsClient's `config` shape.
66
+ *
67
+ * @throws {@link AccessDeniedException} (client fault)
68
+ * <p>You do not have sufficient access to perform this action.</p>
69
+ *
70
+ * @throws {@link InternalServerException} (server fault)
71
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
72
+ *
73
+ * @throws {@link ResourceNotFoundException} (client fault)
74
+ * <p>The resource for this operation was not found.</p>
75
+ *
76
+ * @throws {@link ThrottlingException} (client fault)
77
+ * <p>The request was denied due to request throttling.</p>
78
+ *
79
+ * @throws {@link UninitializedAccountException} (client fault)
80
+ * <p>The account performing the request has not been initialized.</p>
81
+ *
82
+ * @throws {@link ValidationException} (client fault)
83
+ * <p>The input fails to satisfy the constraints specified by the AWS service.</p>
84
+ *
85
+ * @throws {@link DrsServiceException}
86
+ * <p>Base exception class for all service exceptions from Drs service.</p>
87
+ *
88
+ *
89
+ * @public
90
+ */
91
+ export declare class GetRecoveryPlanExecutionCommand extends GetRecoveryPlanExecutionCommand_base {
92
+ /** @internal type navigation helper, not in runtime. */
93
+ protected static __types: {
94
+ api: {
95
+ input: GetRecoveryPlanExecutionRequest;
96
+ output: GetRecoveryPlanExecutionResponse;
97
+ };
98
+ sdk: {
99
+ input: GetRecoveryPlanExecutionCommandInput;
100
+ output: GetRecoveryPlanExecutionCommandOutput;
101
+ };
102
+ };
103
+ }