@aws-sdk/client-drs 3.409.0 → 3.412.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 +24 -0
- package/dist-cjs/Drs.js +6 -0
- package/dist-cjs/commands/DeleteLaunchActionCommand.js +46 -0
- package/dist-cjs/commands/ListLaunchActionsCommand.js +46 -0
- package/dist-cjs/commands/PutLaunchActionCommand.js +46 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +22 -2
- package/dist-cjs/pagination/ListLaunchActionsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +233 -2
- package/dist-cjs/runtimeExtensions.js +3 -0
- package/dist-es/Drs.js +6 -0
- package/dist-es/commands/DeleteLaunchActionCommand.js +42 -0
- package/dist-es/commands/ListLaunchActionsCommand.js +42 -0
- package/dist-es/commands/PutLaunchActionCommand.js +42 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +20 -0
- package/dist-es/pagination/ListLaunchActionsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +226 -1
- package/dist-es/runtimeExtensions.js +3 -0
- package/dist-types/Drs.d.ts +21 -0
- package/dist-types/DrsClient.d.ts +5 -2
- package/dist-types/commands/AssociateSourceNetworkStackCommand.d.ts +28 -0
- package/dist-types/commands/CreateLaunchConfigurationTemplateCommand.d.ts +2 -0
- package/dist-types/commands/DeleteLaunchActionCommand.d.ts +87 -0
- package/dist-types/commands/DescribeJobsCommand.d.ts +28 -0
- package/dist-types/commands/DescribeLaunchConfigurationTemplatesCommand.d.ts +1 -0
- package/dist-types/commands/GetLaunchConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/ListLaunchActionsCommand.d.ts +115 -0
- package/dist-types/commands/PutLaunchActionCommand.d.ts +122 -0
- package/dist-types/commands/StartFailbackLaunchCommand.d.ts +28 -0
- package/dist-types/commands/StartRecoveryCommand.d.ts +28 -0
- package/dist-types/commands/StartSourceNetworkRecoveryCommand.d.ts +28 -0
- package/dist-types/commands/TerminateRecoveryInstancesCommand.d.ts +28 -0
- package/dist-types/commands/UpdateLaunchConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/UpdateLaunchConfigurationTemplateCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +397 -0
- package/dist-types/pagination/ListLaunchActionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -1
- package/dist-types/runtimeConfig.d.ts +4 -1
- package/dist-types/runtimeConfig.native.d.ts +4 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/Drs.d.ts +51 -0
- package/dist-types/ts3.4/DrsClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteLaunchActionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListLaunchActionsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/PutLaunchActionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +106 -0
- package/dist-types/ts3.4/pagination/ListLaunchActionsPaginator.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 +36 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/package.json +28 -28
|
@@ -23,6 +23,10 @@ import {
|
|
|
23
23
|
DeleteJobCommandInput,
|
|
24
24
|
DeleteJobCommandOutput,
|
|
25
25
|
} from "./commands/DeleteJobCommand";
|
|
26
|
+
import {
|
|
27
|
+
DeleteLaunchActionCommandInput,
|
|
28
|
+
DeleteLaunchActionCommandOutput,
|
|
29
|
+
} from "./commands/DeleteLaunchActionCommand";
|
|
26
30
|
import {
|
|
27
31
|
DeleteLaunchConfigurationTemplateCommandInput,
|
|
28
32
|
DeleteLaunchConfigurationTemplateCommandOutput,
|
|
@@ -107,6 +111,10 @@ import {
|
|
|
107
111
|
ListExtensibleSourceServersCommandInput,
|
|
108
112
|
ListExtensibleSourceServersCommandOutput,
|
|
109
113
|
} from "./commands/ListExtensibleSourceServersCommand";
|
|
114
|
+
import {
|
|
115
|
+
ListLaunchActionsCommandInput,
|
|
116
|
+
ListLaunchActionsCommandOutput,
|
|
117
|
+
} from "./commands/ListLaunchActionsCommand";
|
|
110
118
|
import {
|
|
111
119
|
ListStagingAccountsCommandInput,
|
|
112
120
|
ListStagingAccountsCommandOutput,
|
|
@@ -115,6 +123,10 @@ import {
|
|
|
115
123
|
ListTagsForResourceCommandInput,
|
|
116
124
|
ListTagsForResourceCommandOutput,
|
|
117
125
|
} from "./commands/ListTagsForResourceCommand";
|
|
126
|
+
import {
|
|
127
|
+
PutLaunchActionCommandInput,
|
|
128
|
+
PutLaunchActionCommandOutput,
|
|
129
|
+
} from "./commands/PutLaunchActionCommand";
|
|
118
130
|
import {
|
|
119
131
|
RetryDataReplicationCommandInput,
|
|
120
132
|
RetryDataReplicationCommandOutput,
|
|
@@ -279,6 +291,19 @@ export interface Drs {
|
|
|
279
291
|
options: __HttpHandlerOptions,
|
|
280
292
|
cb: (err: any, data?: DeleteJobCommandOutput) => void
|
|
281
293
|
): void;
|
|
294
|
+
deleteLaunchAction(
|
|
295
|
+
args: DeleteLaunchActionCommandInput,
|
|
296
|
+
options?: __HttpHandlerOptions
|
|
297
|
+
): Promise<DeleteLaunchActionCommandOutput>;
|
|
298
|
+
deleteLaunchAction(
|
|
299
|
+
args: DeleteLaunchActionCommandInput,
|
|
300
|
+
cb: (err: any, data?: DeleteLaunchActionCommandOutput) => void
|
|
301
|
+
): void;
|
|
302
|
+
deleteLaunchAction(
|
|
303
|
+
args: DeleteLaunchActionCommandInput,
|
|
304
|
+
options: __HttpHandlerOptions,
|
|
305
|
+
cb: (err: any, data?: DeleteLaunchActionCommandOutput) => void
|
|
306
|
+
): void;
|
|
282
307
|
deleteLaunchConfigurationTemplate(
|
|
283
308
|
args: DeleteLaunchConfigurationTemplateCommandInput,
|
|
284
309
|
options?: __HttpHandlerOptions
|
|
@@ -582,6 +607,19 @@ export interface Drs {
|
|
|
582
607
|
options: __HttpHandlerOptions,
|
|
583
608
|
cb: (err: any, data?: ListExtensibleSourceServersCommandOutput) => void
|
|
584
609
|
): void;
|
|
610
|
+
listLaunchActions(
|
|
611
|
+
args: ListLaunchActionsCommandInput,
|
|
612
|
+
options?: __HttpHandlerOptions
|
|
613
|
+
): Promise<ListLaunchActionsCommandOutput>;
|
|
614
|
+
listLaunchActions(
|
|
615
|
+
args: ListLaunchActionsCommandInput,
|
|
616
|
+
cb: (err: any, data?: ListLaunchActionsCommandOutput) => void
|
|
617
|
+
): void;
|
|
618
|
+
listLaunchActions(
|
|
619
|
+
args: ListLaunchActionsCommandInput,
|
|
620
|
+
options: __HttpHandlerOptions,
|
|
621
|
+
cb: (err: any, data?: ListLaunchActionsCommandOutput) => void
|
|
622
|
+
): void;
|
|
585
623
|
listStagingAccounts(
|
|
586
624
|
args: ListStagingAccountsCommandInput,
|
|
587
625
|
options?: __HttpHandlerOptions
|
|
@@ -608,6 +646,19 @@ export interface Drs {
|
|
|
608
646
|
options: __HttpHandlerOptions,
|
|
609
647
|
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
610
648
|
): void;
|
|
649
|
+
putLaunchAction(
|
|
650
|
+
args: PutLaunchActionCommandInput,
|
|
651
|
+
options?: __HttpHandlerOptions
|
|
652
|
+
): Promise<PutLaunchActionCommandOutput>;
|
|
653
|
+
putLaunchAction(
|
|
654
|
+
args: PutLaunchActionCommandInput,
|
|
655
|
+
cb: (err: any, data?: PutLaunchActionCommandOutput) => void
|
|
656
|
+
): void;
|
|
657
|
+
putLaunchAction(
|
|
658
|
+
args: PutLaunchActionCommandInput,
|
|
659
|
+
options: __HttpHandlerOptions,
|
|
660
|
+
cb: (err: any, data?: PutLaunchActionCommandOutput) => void
|
|
661
|
+
): void;
|
|
611
662
|
retryDataReplication(
|
|
612
663
|
args: RetryDataReplicationCommandInput,
|
|
613
664
|
options?: __HttpHandlerOptions
|
|
@@ -69,6 +69,10 @@ import {
|
|
|
69
69
|
DeleteJobCommandInput,
|
|
70
70
|
DeleteJobCommandOutput,
|
|
71
71
|
} from "./commands/DeleteJobCommand";
|
|
72
|
+
import {
|
|
73
|
+
DeleteLaunchActionCommandInput,
|
|
74
|
+
DeleteLaunchActionCommandOutput,
|
|
75
|
+
} from "./commands/DeleteLaunchActionCommand";
|
|
72
76
|
import {
|
|
73
77
|
DeleteLaunchConfigurationTemplateCommandInput,
|
|
74
78
|
DeleteLaunchConfigurationTemplateCommandOutput,
|
|
@@ -153,6 +157,10 @@ import {
|
|
|
153
157
|
ListExtensibleSourceServersCommandInput,
|
|
154
158
|
ListExtensibleSourceServersCommandOutput,
|
|
155
159
|
} from "./commands/ListExtensibleSourceServersCommand";
|
|
160
|
+
import {
|
|
161
|
+
ListLaunchActionsCommandInput,
|
|
162
|
+
ListLaunchActionsCommandOutput,
|
|
163
|
+
} from "./commands/ListLaunchActionsCommand";
|
|
156
164
|
import {
|
|
157
165
|
ListStagingAccountsCommandInput,
|
|
158
166
|
ListStagingAccountsCommandOutput,
|
|
@@ -161,6 +169,10 @@ import {
|
|
|
161
169
|
ListTagsForResourceCommandInput,
|
|
162
170
|
ListTagsForResourceCommandOutput,
|
|
163
171
|
} from "./commands/ListTagsForResourceCommand";
|
|
172
|
+
import {
|
|
173
|
+
PutLaunchActionCommandInput,
|
|
174
|
+
PutLaunchActionCommandOutput,
|
|
175
|
+
} from "./commands/PutLaunchActionCommand";
|
|
164
176
|
import {
|
|
165
177
|
RetryDataReplicationCommandInput,
|
|
166
178
|
RetryDataReplicationCommandOutput,
|
|
@@ -247,6 +259,7 @@ export type ServiceInputTypes =
|
|
|
247
259
|
| CreateReplicationConfigurationTemplateCommandInput
|
|
248
260
|
| CreateSourceNetworkCommandInput
|
|
249
261
|
| DeleteJobCommandInput
|
|
262
|
+
| DeleteLaunchActionCommandInput
|
|
250
263
|
| DeleteLaunchConfigurationTemplateCommandInput
|
|
251
264
|
| DeleteRecoveryInstanceCommandInput
|
|
252
265
|
| DeleteReplicationConfigurationTemplateCommandInput
|
|
@@ -268,8 +281,10 @@ export type ServiceInputTypes =
|
|
|
268
281
|
| GetReplicationConfigurationCommandInput
|
|
269
282
|
| InitializeServiceCommandInput
|
|
270
283
|
| ListExtensibleSourceServersCommandInput
|
|
284
|
+
| ListLaunchActionsCommandInput
|
|
271
285
|
| ListStagingAccountsCommandInput
|
|
272
286
|
| ListTagsForResourceCommandInput
|
|
287
|
+
| PutLaunchActionCommandInput
|
|
273
288
|
| RetryDataReplicationCommandInput
|
|
274
289
|
| ReverseReplicationCommandInput
|
|
275
290
|
| StartFailbackLaunchCommandInput
|
|
@@ -295,6 +310,7 @@ export type ServiceOutputTypes =
|
|
|
295
310
|
| CreateReplicationConfigurationTemplateCommandOutput
|
|
296
311
|
| CreateSourceNetworkCommandOutput
|
|
297
312
|
| DeleteJobCommandOutput
|
|
313
|
+
| DeleteLaunchActionCommandOutput
|
|
298
314
|
| DeleteLaunchConfigurationTemplateCommandOutput
|
|
299
315
|
| DeleteRecoveryInstanceCommandOutput
|
|
300
316
|
| DeleteReplicationConfigurationTemplateCommandOutput
|
|
@@ -316,8 +332,10 @@ export type ServiceOutputTypes =
|
|
|
316
332
|
| GetReplicationConfigurationCommandOutput
|
|
317
333
|
| InitializeServiceCommandOutput
|
|
318
334
|
| ListExtensibleSourceServersCommandOutput
|
|
335
|
+
| ListLaunchActionsCommandOutput
|
|
319
336
|
| ListStagingAccountsCommandOutput
|
|
320
337
|
| ListTagsForResourceCommandOutput
|
|
338
|
+
| PutLaunchActionCommandOutput
|
|
321
339
|
| RetryDataReplicationCommandOutput
|
|
322
340
|
| ReverseReplicationCommandOutput
|
|
323
341
|
| StartFailbackLaunchCommandOutput
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
DrsClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../DrsClient";
|
|
14
|
+
import {
|
|
15
|
+
DeleteLaunchActionRequest,
|
|
16
|
+
DeleteLaunchActionResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface DeleteLaunchActionCommandInput
|
|
20
|
+
extends DeleteLaunchActionRequest {}
|
|
21
|
+
export interface DeleteLaunchActionCommandOutput
|
|
22
|
+
extends DeleteLaunchActionResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class DeleteLaunchActionCommand extends $Command<
|
|
25
|
+
DeleteLaunchActionCommandInput,
|
|
26
|
+
DeleteLaunchActionCommandOutput,
|
|
27
|
+
DrsClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: DeleteLaunchActionCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: DeleteLaunchActionCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: DrsClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<DeleteLaunchActionCommandInput, DeleteLaunchActionCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
DrsClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../DrsClient";
|
|
14
|
+
import {
|
|
15
|
+
ListLaunchActionsRequest,
|
|
16
|
+
ListLaunchActionsResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface ListLaunchActionsCommandInput
|
|
20
|
+
extends ListLaunchActionsRequest {}
|
|
21
|
+
export interface ListLaunchActionsCommandOutput
|
|
22
|
+
extends ListLaunchActionsResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class ListLaunchActionsCommand extends $Command<
|
|
25
|
+
ListLaunchActionsCommandInput,
|
|
26
|
+
ListLaunchActionsCommandOutput,
|
|
27
|
+
DrsClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: ListLaunchActionsCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: ListLaunchActionsCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: DrsClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<ListLaunchActionsCommandInput, ListLaunchActionsCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
DrsClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../DrsClient";
|
|
14
|
+
import {
|
|
15
|
+
PutLaunchActionRequest,
|
|
16
|
+
PutLaunchActionResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface PutLaunchActionCommandInput extends PutLaunchActionRequest {}
|
|
20
|
+
export interface PutLaunchActionCommandOutput
|
|
21
|
+
extends PutLaunchActionResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class PutLaunchActionCommand extends $Command<
|
|
24
|
+
PutLaunchActionCommandInput,
|
|
25
|
+
PutLaunchActionCommandOutput,
|
|
26
|
+
DrsClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: PutLaunchActionCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: PutLaunchActionCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: DrsClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<PutLaunchActionCommandInput, PutLaunchActionCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -4,6 +4,7 @@ export * from "./CreateLaunchConfigurationTemplateCommand";
|
|
|
4
4
|
export * from "./CreateReplicationConfigurationTemplateCommand";
|
|
5
5
|
export * from "./CreateSourceNetworkCommand";
|
|
6
6
|
export * from "./DeleteJobCommand";
|
|
7
|
+
export * from "./DeleteLaunchActionCommand";
|
|
7
8
|
export * from "./DeleteLaunchConfigurationTemplateCommand";
|
|
8
9
|
export * from "./DeleteRecoveryInstanceCommand";
|
|
9
10
|
export * from "./DeleteReplicationConfigurationTemplateCommand";
|
|
@@ -25,8 +26,10 @@ export * from "./GetLaunchConfigurationCommand";
|
|
|
25
26
|
export * from "./GetReplicationConfigurationCommand";
|
|
26
27
|
export * from "./InitializeServiceCommand";
|
|
27
28
|
export * from "./ListExtensibleSourceServersCommand";
|
|
29
|
+
export * from "./ListLaunchActionsCommand";
|
|
28
30
|
export * from "./ListStagingAccountsCommand";
|
|
29
31
|
export * from "./ListTagsForResourceCommand";
|
|
32
|
+
export * from "./PutLaunchActionCommand";
|
|
30
33
|
export * from "./RetryDataReplicationCommand";
|
|
31
34
|
export * from "./ReverseReplicationCommand";
|
|
32
35
|
export * from "./StartFailbackLaunchCommand";
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
1
2
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
2
3
|
export interface DrsExtensionConfiguration
|
|
3
|
-
extends
|
|
4
|
+
extends HttpHandlerExtensionConfiguration,
|
|
5
|
+
DefaultExtensionConfiguration {}
|
|
@@ -57,10 +57,66 @@ export interface ParticipatingResource {
|
|
|
57
57
|
participatingResourceID?: ParticipatingResourceID;
|
|
58
58
|
launchStatus?: LaunchStatus | string;
|
|
59
59
|
}
|
|
60
|
+
export declare const LaunchActionCategory: {
|
|
61
|
+
readonly CONFIGURATION: "CONFIGURATION";
|
|
62
|
+
readonly MONITORING: "MONITORING";
|
|
63
|
+
readonly OTHER: "OTHER";
|
|
64
|
+
readonly SECURITY: "SECURITY";
|
|
65
|
+
readonly VALIDATION: "VALIDATION";
|
|
66
|
+
};
|
|
67
|
+
export type LaunchActionCategory =
|
|
68
|
+
(typeof LaunchActionCategory)[keyof typeof LaunchActionCategory];
|
|
69
|
+
export declare const LaunchActionParameterType: {
|
|
70
|
+
readonly DYNAMIC: "DYNAMIC";
|
|
71
|
+
readonly SSM_STORE: "SSM_STORE";
|
|
72
|
+
};
|
|
73
|
+
export type LaunchActionParameterType =
|
|
74
|
+
(typeof LaunchActionParameterType)[keyof typeof LaunchActionParameterType];
|
|
75
|
+
export interface LaunchActionParameter {
|
|
76
|
+
value?: string;
|
|
77
|
+
type?: LaunchActionParameterType | string;
|
|
78
|
+
}
|
|
79
|
+
export declare const LaunchActionType: {
|
|
80
|
+
readonly SSM_AUTOMATION: "SSM_AUTOMATION";
|
|
81
|
+
readonly SSM_COMMAND: "SSM_COMMAND";
|
|
82
|
+
};
|
|
83
|
+
export type LaunchActionType =
|
|
84
|
+
(typeof LaunchActionType)[keyof typeof LaunchActionType];
|
|
85
|
+
export interface LaunchAction {
|
|
86
|
+
actionId?: string;
|
|
87
|
+
actionCode?: string;
|
|
88
|
+
type?: LaunchActionType | string;
|
|
89
|
+
name?: string;
|
|
90
|
+
active?: boolean;
|
|
91
|
+
order?: number;
|
|
92
|
+
actionVersion?: string;
|
|
93
|
+
optional?: boolean;
|
|
94
|
+
parameters?: Record<string, LaunchActionParameter>;
|
|
95
|
+
description?: string;
|
|
96
|
+
category?: LaunchActionCategory | string;
|
|
97
|
+
}
|
|
98
|
+
export declare const LaunchActionRunStatus: {
|
|
99
|
+
readonly FAILED: "FAILED";
|
|
100
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
101
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
102
|
+
};
|
|
103
|
+
export type LaunchActionRunStatus =
|
|
104
|
+
(typeof LaunchActionRunStatus)[keyof typeof LaunchActionRunStatus];
|
|
105
|
+
export interface LaunchActionRun {
|
|
106
|
+
action?: LaunchAction;
|
|
107
|
+
runId?: string;
|
|
108
|
+
status?: LaunchActionRunStatus | string;
|
|
109
|
+
failureReason?: string;
|
|
110
|
+
}
|
|
111
|
+
export interface LaunchActionsStatus {
|
|
112
|
+
ssmAgentDiscoveryDatetime?: string;
|
|
113
|
+
runs?: LaunchActionRun[];
|
|
114
|
+
}
|
|
60
115
|
export interface ParticipatingServer {
|
|
61
116
|
sourceServerID?: string;
|
|
62
117
|
recoveryInstanceID?: string;
|
|
63
118
|
launchStatus?: LaunchStatus | string;
|
|
119
|
+
launchActionsStatus?: LaunchActionsStatus;
|
|
64
120
|
}
|
|
65
121
|
export declare const JobStatus: {
|
|
66
122
|
readonly COMPLETED: "COMPLETED";
|
|
@@ -394,6 +450,7 @@ export interface CreateLaunchConfigurationTemplateRequest {
|
|
|
394
450
|
copyTags?: boolean;
|
|
395
451
|
licensing?: Licensing;
|
|
396
452
|
exportBucketArn?: string;
|
|
453
|
+
postLaunchEnabled?: boolean;
|
|
397
454
|
}
|
|
398
455
|
export interface LaunchConfigurationTemplate {
|
|
399
456
|
launchConfigurationTemplateID?: string;
|
|
@@ -407,6 +464,7 @@ export interface LaunchConfigurationTemplate {
|
|
|
407
464
|
copyTags?: boolean;
|
|
408
465
|
licensing?: Licensing;
|
|
409
466
|
exportBucketArn?: string;
|
|
467
|
+
postLaunchEnabled?: boolean;
|
|
410
468
|
}
|
|
411
469
|
export interface CreateLaunchConfigurationTemplateResponse {
|
|
412
470
|
launchConfigurationTemplate?: LaunchConfigurationTemplate;
|
|
@@ -503,6 +561,11 @@ export interface DeleteJobRequest {
|
|
|
503
561
|
jobID: string | undefined;
|
|
504
562
|
}
|
|
505
563
|
export interface DeleteJobResponse {}
|
|
564
|
+
export interface DeleteLaunchActionRequest {
|
|
565
|
+
resourceId: string | undefined;
|
|
566
|
+
actionId: string | undefined;
|
|
567
|
+
}
|
|
568
|
+
export interface DeleteLaunchActionResponse {}
|
|
506
569
|
export interface DeleteLaunchConfigurationTemplateRequest {
|
|
507
570
|
launchConfigurationTemplateID: string | undefined;
|
|
508
571
|
}
|
|
@@ -929,6 +992,7 @@ export interface UpdateLaunchConfigurationTemplateRequest {
|
|
|
929
992
|
copyTags?: boolean;
|
|
930
993
|
licensing?: Licensing;
|
|
931
994
|
exportBucketArn?: string;
|
|
995
|
+
postLaunchEnabled?: boolean;
|
|
932
996
|
}
|
|
933
997
|
export interface UpdateLaunchConfigurationTemplateResponse {
|
|
934
998
|
launchConfigurationTemplate?: LaunchConfigurationTemplate;
|
|
@@ -947,6 +1011,19 @@ export interface ListExtensibleSourceServersResponse {
|
|
|
947
1011
|
items?: StagingSourceServer[];
|
|
948
1012
|
nextToken?: string;
|
|
949
1013
|
}
|
|
1014
|
+
export interface LaunchActionsRequestFilters {
|
|
1015
|
+
actionIds?: string[];
|
|
1016
|
+
}
|
|
1017
|
+
export interface ListLaunchActionsRequest {
|
|
1018
|
+
resourceId: string | undefined;
|
|
1019
|
+
filters?: LaunchActionsRequestFilters;
|
|
1020
|
+
maxResults?: number;
|
|
1021
|
+
nextToken?: string;
|
|
1022
|
+
}
|
|
1023
|
+
export interface ListLaunchActionsResponse {
|
|
1024
|
+
items?: LaunchAction[];
|
|
1025
|
+
nextToken?: string;
|
|
1026
|
+
}
|
|
950
1027
|
export interface ListStagingAccountsRequest {
|
|
951
1028
|
maxResults?: number;
|
|
952
1029
|
nextToken?: string;
|
|
@@ -961,6 +1038,33 @@ export interface ListTagsForResourceRequest {
|
|
|
961
1038
|
export interface ListTagsForResourceResponse {
|
|
962
1039
|
tags?: Record<string, string>;
|
|
963
1040
|
}
|
|
1041
|
+
export interface PutLaunchActionRequest {
|
|
1042
|
+
resourceId: string | undefined;
|
|
1043
|
+
actionCode: string | undefined;
|
|
1044
|
+
order: number | undefined;
|
|
1045
|
+
actionId: string | undefined;
|
|
1046
|
+
optional: boolean | undefined;
|
|
1047
|
+
active: boolean | undefined;
|
|
1048
|
+
name: string | undefined;
|
|
1049
|
+
actionVersion: string | undefined;
|
|
1050
|
+
category: LaunchActionCategory | string | undefined;
|
|
1051
|
+
parameters?: Record<string, LaunchActionParameter>;
|
|
1052
|
+
description?: string;
|
|
1053
|
+
}
|
|
1054
|
+
export interface PutLaunchActionResponse {
|
|
1055
|
+
resourceId?: string;
|
|
1056
|
+
actionId?: string;
|
|
1057
|
+
actionCode?: string;
|
|
1058
|
+
type?: LaunchActionType | string;
|
|
1059
|
+
name?: string;
|
|
1060
|
+
active?: boolean;
|
|
1061
|
+
order?: number;
|
|
1062
|
+
actionVersion?: string;
|
|
1063
|
+
optional?: boolean;
|
|
1064
|
+
parameters?: Record<string, LaunchActionParameter>;
|
|
1065
|
+
description?: string;
|
|
1066
|
+
category?: LaunchActionCategory | string;
|
|
1067
|
+
}
|
|
964
1068
|
export interface GetFailbackReplicationConfigurationRequest {
|
|
965
1069
|
recoveryInstanceID: string | undefined;
|
|
966
1070
|
}
|
|
@@ -1062,6 +1166,7 @@ export interface LaunchConfiguration {
|
|
|
1062
1166
|
copyPrivateIp?: boolean;
|
|
1063
1167
|
copyTags?: boolean;
|
|
1064
1168
|
licensing?: Licensing;
|
|
1169
|
+
postLaunchEnabled?: boolean;
|
|
1065
1170
|
}
|
|
1066
1171
|
export interface GetReplicationConfigurationRequest {
|
|
1067
1172
|
sourceServerID: string | undefined;
|
|
@@ -1147,6 +1252,7 @@ export interface UpdateLaunchConfigurationRequest {
|
|
|
1147
1252
|
copyPrivateIp?: boolean;
|
|
1148
1253
|
copyTags?: boolean;
|
|
1149
1254
|
licensing?: Licensing;
|
|
1255
|
+
postLaunchEnabled?: boolean;
|
|
1150
1256
|
}
|
|
1151
1257
|
export interface UpdateReplicationConfigurationRequest {
|
|
1152
1258
|
sourceServerID: string | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListLaunchActionsCommandInput,
|
|
4
|
+
ListLaunchActionsCommandOutput,
|
|
5
|
+
} from "../commands/ListLaunchActionsCommand";
|
|
6
|
+
import { DrsPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListLaunchActions(
|
|
8
|
+
config: DrsPaginationConfiguration,
|
|
9
|
+
input: ListLaunchActionsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListLaunchActionsCommandOutput>;
|
|
@@ -8,4 +8,5 @@ export * from "./DescribeSourceNetworksPaginator";
|
|
|
8
8
|
export * from "./DescribeSourceServersPaginator";
|
|
9
9
|
export * from "./Interfaces";
|
|
10
10
|
export * from "./ListExtensibleSourceServersPaginator";
|
|
11
|
+
export * from "./ListLaunchActionsPaginator";
|
|
11
12
|
export * from "./ListStagingAccountsPaginator";
|
|
@@ -27,6 +27,10 @@ import {
|
|
|
27
27
|
DeleteJobCommandInput,
|
|
28
28
|
DeleteJobCommandOutput,
|
|
29
29
|
} from "../commands/DeleteJobCommand";
|
|
30
|
+
import {
|
|
31
|
+
DeleteLaunchActionCommandInput,
|
|
32
|
+
DeleteLaunchActionCommandOutput,
|
|
33
|
+
} from "../commands/DeleteLaunchActionCommand";
|
|
30
34
|
import {
|
|
31
35
|
DeleteLaunchConfigurationTemplateCommandInput,
|
|
32
36
|
DeleteLaunchConfigurationTemplateCommandOutput,
|
|
@@ -111,6 +115,10 @@ import {
|
|
|
111
115
|
ListExtensibleSourceServersCommandInput,
|
|
112
116
|
ListExtensibleSourceServersCommandOutput,
|
|
113
117
|
} from "../commands/ListExtensibleSourceServersCommand";
|
|
118
|
+
import {
|
|
119
|
+
ListLaunchActionsCommandInput,
|
|
120
|
+
ListLaunchActionsCommandOutput,
|
|
121
|
+
} from "../commands/ListLaunchActionsCommand";
|
|
114
122
|
import {
|
|
115
123
|
ListStagingAccountsCommandInput,
|
|
116
124
|
ListStagingAccountsCommandOutput,
|
|
@@ -119,6 +127,10 @@ import {
|
|
|
119
127
|
ListTagsForResourceCommandInput,
|
|
120
128
|
ListTagsForResourceCommandOutput,
|
|
121
129
|
} from "../commands/ListTagsForResourceCommand";
|
|
130
|
+
import {
|
|
131
|
+
PutLaunchActionCommandInput,
|
|
132
|
+
PutLaunchActionCommandOutput,
|
|
133
|
+
} from "../commands/PutLaunchActionCommand";
|
|
122
134
|
import {
|
|
123
135
|
RetryDataReplicationCommandInput,
|
|
124
136
|
RetryDataReplicationCommandOutput,
|
|
@@ -215,6 +227,10 @@ export declare const se_DeleteJobCommand: (
|
|
|
215
227
|
input: DeleteJobCommandInput,
|
|
216
228
|
context: __SerdeContext
|
|
217
229
|
) => Promise<__HttpRequest>;
|
|
230
|
+
export declare const se_DeleteLaunchActionCommand: (
|
|
231
|
+
input: DeleteLaunchActionCommandInput,
|
|
232
|
+
context: __SerdeContext
|
|
233
|
+
) => Promise<__HttpRequest>;
|
|
218
234
|
export declare const se_DeleteLaunchConfigurationTemplateCommand: (
|
|
219
235
|
input: DeleteLaunchConfigurationTemplateCommandInput,
|
|
220
236
|
context: __SerdeContext
|
|
@@ -299,6 +315,10 @@ export declare const se_ListExtensibleSourceServersCommand: (
|
|
|
299
315
|
input: ListExtensibleSourceServersCommandInput,
|
|
300
316
|
context: __SerdeContext
|
|
301
317
|
) => Promise<__HttpRequest>;
|
|
318
|
+
export declare const se_ListLaunchActionsCommand: (
|
|
319
|
+
input: ListLaunchActionsCommandInput,
|
|
320
|
+
context: __SerdeContext
|
|
321
|
+
) => Promise<__HttpRequest>;
|
|
302
322
|
export declare const se_ListStagingAccountsCommand: (
|
|
303
323
|
input: ListStagingAccountsCommandInput,
|
|
304
324
|
context: __SerdeContext
|
|
@@ -307,6 +327,10 @@ export declare const se_ListTagsForResourceCommand: (
|
|
|
307
327
|
input: ListTagsForResourceCommandInput,
|
|
308
328
|
context: __SerdeContext
|
|
309
329
|
) => Promise<__HttpRequest>;
|
|
330
|
+
export declare const se_PutLaunchActionCommand: (
|
|
331
|
+
input: PutLaunchActionCommandInput,
|
|
332
|
+
context: __SerdeContext
|
|
333
|
+
) => Promise<__HttpRequest>;
|
|
310
334
|
export declare const se_RetryDataReplicationCommand: (
|
|
311
335
|
input: RetryDataReplicationCommandInput,
|
|
312
336
|
context: __SerdeContext
|
|
@@ -403,6 +427,10 @@ export declare const de_DeleteJobCommand: (
|
|
|
403
427
|
output: __HttpResponse,
|
|
404
428
|
context: __SerdeContext
|
|
405
429
|
) => Promise<DeleteJobCommandOutput>;
|
|
430
|
+
export declare const de_DeleteLaunchActionCommand: (
|
|
431
|
+
output: __HttpResponse,
|
|
432
|
+
context: __SerdeContext
|
|
433
|
+
) => Promise<DeleteLaunchActionCommandOutput>;
|
|
406
434
|
export declare const de_DeleteLaunchConfigurationTemplateCommand: (
|
|
407
435
|
output: __HttpResponse,
|
|
408
436
|
context: __SerdeContext
|
|
@@ -487,6 +515,10 @@ export declare const de_ListExtensibleSourceServersCommand: (
|
|
|
487
515
|
output: __HttpResponse,
|
|
488
516
|
context: __SerdeContext
|
|
489
517
|
) => Promise<ListExtensibleSourceServersCommandOutput>;
|
|
518
|
+
export declare const de_ListLaunchActionsCommand: (
|
|
519
|
+
output: __HttpResponse,
|
|
520
|
+
context: __SerdeContext
|
|
521
|
+
) => Promise<ListLaunchActionsCommandOutput>;
|
|
490
522
|
export declare const de_ListStagingAccountsCommand: (
|
|
491
523
|
output: __HttpResponse,
|
|
492
524
|
context: __SerdeContext
|
|
@@ -495,6 +527,10 @@ export declare const de_ListTagsForResourceCommand: (
|
|
|
495
527
|
output: __HttpResponse,
|
|
496
528
|
context: __SerdeContext
|
|
497
529
|
) => Promise<ListTagsForResourceCommandOutput>;
|
|
530
|
+
export declare const de_PutLaunchActionCommand: (
|
|
531
|
+
output: __HttpResponse,
|
|
532
|
+
context: __SerdeContext
|
|
533
|
+
) => Promise<PutLaunchActionCommandOutput>;
|
|
498
534
|
export declare const de_RetryDataReplicationCommand: (
|
|
499
535
|
output: __HttpResponse,
|
|
500
536
|
context: __SerdeContext
|
|
@@ -20,7 +20,14 @@ export declare const getRuntimeConfig: (config: DrsClientConfig) => {
|
|
|
20
20
|
any,
|
|
21
21
|
import("@smithy/types").HttpHandlerOptions
|
|
22
22
|
> &
|
|
23
|
-
import("@smithy/
|
|
23
|
+
import("@smithy/types").RequestHandler<
|
|
24
|
+
import("@smithy/protocol-http").HttpRequest,
|
|
25
|
+
import("@smithy/protocol-http").HttpResponse,
|
|
26
|
+
import("@smithy/types").HttpHandlerOptions
|
|
27
|
+
> & {
|
|
28
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
29
|
+
httpHandlerConfigs(): {};
|
|
30
|
+
})
|
|
24
31
|
| RequestHandler;
|
|
25
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
33
|
sha256: import("@smithy/types").HashConstructor;
|
|
@@ -20,7 +20,14 @@ export declare const getRuntimeConfig: (config: DrsClientConfig) => {
|
|
|
20
20
|
any,
|
|
21
21
|
import("@smithy/types").HttpHandlerOptions
|
|
22
22
|
> &
|
|
23
|
-
import("@smithy/
|
|
23
|
+
import("@smithy/types").RequestHandler<
|
|
24
|
+
import("@smithy/protocol-http").HttpRequest,
|
|
25
|
+
import("@smithy/protocol-http").HttpResponse,
|
|
26
|
+
import("@smithy/types").HttpHandlerOptions
|
|
27
|
+
> & {
|
|
28
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
29
|
+
httpHandlerConfigs(): {};
|
|
30
|
+
})
|
|
24
31
|
| RequestHandler;
|
|
25
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
33
|
sha256: import("@smithy/types").HashConstructor;
|
|
@@ -8,7 +8,14 @@ export declare const getRuntimeConfig: (config: DrsClientConfig) => {
|
|
|
8
8
|
any,
|
|
9
9
|
import("@smithy/types").HttpHandlerOptions
|
|
10
10
|
> &
|
|
11
|
-
import("@smithy/
|
|
11
|
+
import("@smithy/types").RequestHandler<
|
|
12
|
+
import("@smithy/protocol-http").HttpRequest,
|
|
13
|
+
import("@smithy/protocol-http").HttpResponse,
|
|
14
|
+
import("@smithy/types").HttpHandlerOptions
|
|
15
|
+
> & {
|
|
16
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
17
|
+
httpHandlerConfigs(): {};
|
|
18
|
+
})
|
|
12
19
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
13
20
|
apiVersion: string;
|
|
14
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DrsExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
export interface RuntimeExtension {
|
|
3
|
-
configure(
|
|
3
|
+
configure(extensionConfiguration: DrsExtensionConfiguration): void;
|
|
4
4
|
}
|
|
5
5
|
export interface RuntimeExtensionsConfig {
|
|
6
6
|
extensions: RuntimeExtension[];
|