@aws-sdk/client-drs 3.410.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-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-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/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/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/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/package.json +1 -1
package/README.md
CHANGED
|
@@ -250,6 +250,14 @@ DeleteJob
|
|
|
250
250
|
|
|
251
251
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/classes/deletejobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/interfaces/deletejobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/interfaces/deletejobcommandoutput.html)
|
|
252
252
|
|
|
253
|
+
</details>
|
|
254
|
+
<details>
|
|
255
|
+
<summary>
|
|
256
|
+
DeleteLaunchAction
|
|
257
|
+
</summary>
|
|
258
|
+
|
|
259
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/classes/deletelaunchactioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/interfaces/deletelaunchactioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/interfaces/deletelaunchactioncommandoutput.html)
|
|
260
|
+
|
|
253
261
|
</details>
|
|
254
262
|
<details>
|
|
255
263
|
<summary>
|
|
@@ -418,6 +426,14 @@ ListExtensibleSourceServers
|
|
|
418
426
|
|
|
419
427
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/classes/listextensiblesourceserverscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/interfaces/listextensiblesourceserverscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/interfaces/listextensiblesourceserverscommandoutput.html)
|
|
420
428
|
|
|
429
|
+
</details>
|
|
430
|
+
<details>
|
|
431
|
+
<summary>
|
|
432
|
+
ListLaunchActions
|
|
433
|
+
</summary>
|
|
434
|
+
|
|
435
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/classes/listlaunchactionscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/interfaces/listlaunchactionscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/interfaces/listlaunchactionscommandoutput.html)
|
|
436
|
+
|
|
421
437
|
</details>
|
|
422
438
|
<details>
|
|
423
439
|
<summary>
|
|
@@ -434,6 +450,14 @@ ListTagsForResource
|
|
|
434
450
|
|
|
435
451
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/classes/listtagsforresourcecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/interfaces/listtagsforresourcecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/interfaces/listtagsforresourcecommandoutput.html)
|
|
436
452
|
|
|
453
|
+
</details>
|
|
454
|
+
<details>
|
|
455
|
+
<summary>
|
|
456
|
+
PutLaunchAction
|
|
457
|
+
</summary>
|
|
458
|
+
|
|
459
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/classes/putlaunchactioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/interfaces/putlaunchactioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/interfaces/putlaunchactioncommandoutput.html)
|
|
460
|
+
|
|
437
461
|
</details>
|
|
438
462
|
<details>
|
|
439
463
|
<summary>
|
package/dist-cjs/Drs.js
CHANGED
|
@@ -8,6 +8,7 @@ const CreateLaunchConfigurationTemplateCommand_1 = require("./commands/CreateLau
|
|
|
8
8
|
const CreateReplicationConfigurationTemplateCommand_1 = require("./commands/CreateReplicationConfigurationTemplateCommand");
|
|
9
9
|
const CreateSourceNetworkCommand_1 = require("./commands/CreateSourceNetworkCommand");
|
|
10
10
|
const DeleteJobCommand_1 = require("./commands/DeleteJobCommand");
|
|
11
|
+
const DeleteLaunchActionCommand_1 = require("./commands/DeleteLaunchActionCommand");
|
|
11
12
|
const DeleteLaunchConfigurationTemplateCommand_1 = require("./commands/DeleteLaunchConfigurationTemplateCommand");
|
|
12
13
|
const DeleteRecoveryInstanceCommand_1 = require("./commands/DeleteRecoveryInstanceCommand");
|
|
13
14
|
const DeleteReplicationConfigurationTemplateCommand_1 = require("./commands/DeleteReplicationConfigurationTemplateCommand");
|
|
@@ -29,8 +30,10 @@ const GetLaunchConfigurationCommand_1 = require("./commands/GetLaunchConfigurati
|
|
|
29
30
|
const GetReplicationConfigurationCommand_1 = require("./commands/GetReplicationConfigurationCommand");
|
|
30
31
|
const InitializeServiceCommand_1 = require("./commands/InitializeServiceCommand");
|
|
31
32
|
const ListExtensibleSourceServersCommand_1 = require("./commands/ListExtensibleSourceServersCommand");
|
|
33
|
+
const ListLaunchActionsCommand_1 = require("./commands/ListLaunchActionsCommand");
|
|
32
34
|
const ListStagingAccountsCommand_1 = require("./commands/ListStagingAccountsCommand");
|
|
33
35
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
36
|
+
const PutLaunchActionCommand_1 = require("./commands/PutLaunchActionCommand");
|
|
34
37
|
const RetryDataReplicationCommand_1 = require("./commands/RetryDataReplicationCommand");
|
|
35
38
|
const ReverseReplicationCommand_1 = require("./commands/ReverseReplicationCommand");
|
|
36
39
|
const StartFailbackLaunchCommand_1 = require("./commands/StartFailbackLaunchCommand");
|
|
@@ -57,6 +60,7 @@ const commands = {
|
|
|
57
60
|
CreateReplicationConfigurationTemplateCommand: CreateReplicationConfigurationTemplateCommand_1.CreateReplicationConfigurationTemplateCommand,
|
|
58
61
|
CreateSourceNetworkCommand: CreateSourceNetworkCommand_1.CreateSourceNetworkCommand,
|
|
59
62
|
DeleteJobCommand: DeleteJobCommand_1.DeleteJobCommand,
|
|
63
|
+
DeleteLaunchActionCommand: DeleteLaunchActionCommand_1.DeleteLaunchActionCommand,
|
|
60
64
|
DeleteLaunchConfigurationTemplateCommand: DeleteLaunchConfigurationTemplateCommand_1.DeleteLaunchConfigurationTemplateCommand,
|
|
61
65
|
DeleteRecoveryInstanceCommand: DeleteRecoveryInstanceCommand_1.DeleteRecoveryInstanceCommand,
|
|
62
66
|
DeleteReplicationConfigurationTemplateCommand: DeleteReplicationConfigurationTemplateCommand_1.DeleteReplicationConfigurationTemplateCommand,
|
|
@@ -78,8 +82,10 @@ const commands = {
|
|
|
78
82
|
GetReplicationConfigurationCommand: GetReplicationConfigurationCommand_1.GetReplicationConfigurationCommand,
|
|
79
83
|
InitializeServiceCommand: InitializeServiceCommand_1.InitializeServiceCommand,
|
|
80
84
|
ListExtensibleSourceServersCommand: ListExtensibleSourceServersCommand_1.ListExtensibleSourceServersCommand,
|
|
85
|
+
ListLaunchActionsCommand: ListLaunchActionsCommand_1.ListLaunchActionsCommand,
|
|
81
86
|
ListStagingAccountsCommand: ListStagingAccountsCommand_1.ListStagingAccountsCommand,
|
|
82
87
|
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
88
|
+
PutLaunchActionCommand: PutLaunchActionCommand_1.PutLaunchActionCommand,
|
|
83
89
|
RetryDataReplicationCommand: RetryDataReplicationCommand_1.RetryDataReplicationCommand,
|
|
84
90
|
ReverseReplicationCommand: ReverseReplicationCommand_1.ReverseReplicationCommand,
|
|
85
91
|
StartFailbackLaunchCommand: StartFailbackLaunchCommand_1.StartFailbackLaunchCommand,
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteLaunchActionCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class DeleteLaunchActionCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteLaunchActionCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "DrsClient";
|
|
28
|
+
const commandName = "DeleteLaunchActionCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.se_DeleteLaunchActionCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.de_DeleteLaunchActionCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.DeleteLaunchActionCommand = DeleteLaunchActionCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListLaunchActionsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class ListLaunchActionsCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListLaunchActionsCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "DrsClient";
|
|
28
|
+
const commandName = "ListLaunchActionsCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.se_ListLaunchActionsCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.de_ListLaunchActionsCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.ListLaunchActionsCommand = ListLaunchActionsCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PutLaunchActionCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class PutLaunchActionCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutLaunchActionCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "DrsClient";
|
|
28
|
+
const commandName = "PutLaunchActionCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.se_PutLaunchActionCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.de_PutLaunchActionCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.PutLaunchActionCommand = PutLaunchActionCommand;
|
|
@@ -7,6 +7,7 @@ tslib_1.__exportStar(require("./CreateLaunchConfigurationTemplateCommand"), expo
|
|
|
7
7
|
tslib_1.__exportStar(require("./CreateReplicationConfigurationTemplateCommand"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./CreateSourceNetworkCommand"), exports);
|
|
9
9
|
tslib_1.__exportStar(require("./DeleteJobCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./DeleteLaunchActionCommand"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./DeleteLaunchConfigurationTemplateCommand"), exports);
|
|
11
12
|
tslib_1.__exportStar(require("./DeleteRecoveryInstanceCommand"), exports);
|
|
12
13
|
tslib_1.__exportStar(require("./DeleteReplicationConfigurationTemplateCommand"), exports);
|
|
@@ -28,8 +29,10 @@ tslib_1.__exportStar(require("./GetLaunchConfigurationCommand"), exports);
|
|
|
28
29
|
tslib_1.__exportStar(require("./GetReplicationConfigurationCommand"), exports);
|
|
29
30
|
tslib_1.__exportStar(require("./InitializeServiceCommand"), exports);
|
|
30
31
|
tslib_1.__exportStar(require("./ListExtensibleSourceServersCommand"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./ListLaunchActionsCommand"), exports);
|
|
31
33
|
tslib_1.__exportStar(require("./ListStagingAccountsCommand"), exports);
|
|
32
34
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
35
|
+
tslib_1.__exportStar(require("./PutLaunchActionCommand"), exports);
|
|
33
36
|
tslib_1.__exportStar(require("./RetryDataReplicationCommand"), exports);
|
|
34
37
|
tslib_1.__exportStar(require("./ReverseReplicationCommand"), exports);
|
|
35
38
|
tslib_1.__exportStar(require("./StartFailbackLaunchCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.UpdateReplicationConfigurationRequestFilterSensitiveLog = exports.StopReplicationResponseFilterSensitiveLog = exports.StartReplicationResponseFilterSensitiveLog = exports.StartRecoveryResponseFilterSensitiveLog = exports.StartRecoveryRequestFilterSensitiveLog = exports.ReplicationConfigurationFilterSensitiveLog = exports.StopSourceNetworkReplicationResponseFilterSensitiveLog = exports.StartSourceNetworkReplicationResponseFilterSensitiveLog = exports.StartSourceNetworkRecoveryResponseFilterSensitiveLog = exports.StartSourceNetworkRecoveryRequestFilterSensitiveLog = exports.StartSourceNetworkRecoveryRequestNetworkEntryFilterSensitiveLog = exports.UpdateReplicationConfigurationTemplateRequestFilterSensitiveLog = exports.TerminateRecoveryInstancesResponseFilterSensitiveLog = exports.StartFailbackLaunchResponseFilterSensitiveLog = exports.StartFailbackLaunchRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListExtensibleSourceServersResponseFilterSensitiveLog = exports.StagingSourceServerFilterSensitiveLog = exports.UpdateLaunchConfigurationTemplateResponseFilterSensitiveLog = exports.DescribeSourceServersResponseFilterSensitiveLog = exports.DescribeSourceNetworksResponseFilterSensitiveLog = exports.SourceNetworkFilterSensitiveLog = exports.DescribeReplicationConfigurationTemplatesResponseFilterSensitiveLog = exports.DescribeRecoveryInstancesResponseFilterSensitiveLog = exports.RecoveryInstanceFilterSensitiveLog = exports.DescribeLaunchConfigurationTemplatesResponseFilterSensitiveLog = exports.DescribeJobsResponseFilterSensitiveLog = exports.CreateSourceNetworkRequestFilterSensitiveLog = exports.ReplicationConfigurationTemplateFilterSensitiveLog = exports.CreateReplicationConfigurationTemplateRequestFilterSensitiveLog = exports.CreateLaunchConfigurationTemplateResponseFilterSensitiveLog = void 0;
|
|
3
|
+
exports.CreateExtendedSourceServerRequestFilterSensitiveLog = exports.AssociateSourceNetworkStackResponseFilterSensitiveLog = exports.JobFilterSensitiveLog = exports.AssociateSourceNetworkStackRequestFilterSensitiveLog = exports.ReplicationConfigurationReplicatedDiskStagingDiskType = exports.ReplicationStatus = exports.RecoveryResult = exports.RecoverySnapshotsOrder = exports.OriginEnvironment = exports.FailbackState = exports.FailbackLaunchType = exports.EC2InstanceState = exports.RecoveryInstanceDataReplicationState = exports.RecoveryInstanceDataReplicationInitiationStepStatus = exports.RecoveryInstanceDataReplicationInitiationStepName = exports.FailbackReplicationError = exports.EventResourceData = exports.JobLogEvent = exports.PITPolicyRuleUnits = exports.ReplicationConfigurationEbsEncryption = exports.ReplicationConfigurationDefaultLargeStagingDiskType = exports.ReplicationConfigurationDataPlaneRouting = exports.TargetInstanceTypeRightSizingMethod = exports.LaunchDisposition = exports.ExtensionStatus = exports.ReplicationDirection = exports.LastLaunchType = exports.LastLaunchResult = exports.DataReplicationState = exports.DataReplicationInitiationStepStatus = exports.DataReplicationInitiationStepName = exports.DataReplicationErrorString = exports.ValidationException = exports.ValidationExceptionReason = exports.UninitializedAccountException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.JobType = exports.JobStatus = exports.LaunchActionRunStatus = exports.LaunchActionType = exports.LaunchActionParameterType = exports.LaunchActionCategory = exports.ParticipatingResourceID = exports.LaunchStatus = exports.InitiatedBy = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.UpdateReplicationConfigurationRequestFilterSensitiveLog = exports.StopReplicationResponseFilterSensitiveLog = exports.StartReplicationResponseFilterSensitiveLog = exports.StartRecoveryResponseFilterSensitiveLog = exports.StartRecoveryRequestFilterSensitiveLog = exports.ReplicationConfigurationFilterSensitiveLog = exports.StopSourceNetworkReplicationResponseFilterSensitiveLog = exports.StartSourceNetworkReplicationResponseFilterSensitiveLog = exports.StartSourceNetworkRecoveryResponseFilterSensitiveLog = exports.StartSourceNetworkRecoveryRequestFilterSensitiveLog = exports.StartSourceNetworkRecoveryRequestNetworkEntryFilterSensitiveLog = exports.UpdateReplicationConfigurationTemplateRequestFilterSensitiveLog = exports.TerminateRecoveryInstancesResponseFilterSensitiveLog = exports.StartFailbackLaunchResponseFilterSensitiveLog = exports.StartFailbackLaunchRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListExtensibleSourceServersResponseFilterSensitiveLog = exports.StagingSourceServerFilterSensitiveLog = exports.UpdateLaunchConfigurationTemplateResponseFilterSensitiveLog = exports.DescribeSourceServersResponseFilterSensitiveLog = exports.DescribeSourceNetworksResponseFilterSensitiveLog = exports.SourceNetworkFilterSensitiveLog = exports.DescribeReplicationConfigurationTemplatesResponseFilterSensitiveLog = exports.DescribeRecoveryInstancesResponseFilterSensitiveLog = exports.RecoveryInstanceFilterSensitiveLog = exports.DescribeLaunchConfigurationTemplatesResponseFilterSensitiveLog = exports.DescribeJobsResponseFilterSensitiveLog = exports.CreateSourceNetworkRequestFilterSensitiveLog = exports.ReplicationConfigurationTemplateFilterSensitiveLog = exports.CreateReplicationConfigurationTemplateRequestFilterSensitiveLog = exports.CreateLaunchConfigurationTemplateResponseFilterSensitiveLog = exports.LaunchConfigurationTemplateFilterSensitiveLog = exports.CreateLaunchConfigurationTemplateRequestFilterSensitiveLog = exports.CreateExtendedSourceServerResponseFilterSensitiveLog = exports.SourceServerFilterSensitiveLog = void 0;
|
|
5
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
const DrsServiceException_1 = require("./DrsServiceException");
|
|
7
7
|
class AccessDeniedException extends DrsServiceException_1.DrsServiceException {
|
|
@@ -44,6 +44,26 @@ var ParticipatingResourceID;
|
|
|
44
44
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
45
45
|
};
|
|
46
46
|
})(ParticipatingResourceID = exports.ParticipatingResourceID || (exports.ParticipatingResourceID = {}));
|
|
47
|
+
exports.LaunchActionCategory = {
|
|
48
|
+
CONFIGURATION: "CONFIGURATION",
|
|
49
|
+
MONITORING: "MONITORING",
|
|
50
|
+
OTHER: "OTHER",
|
|
51
|
+
SECURITY: "SECURITY",
|
|
52
|
+
VALIDATION: "VALIDATION",
|
|
53
|
+
};
|
|
54
|
+
exports.LaunchActionParameterType = {
|
|
55
|
+
DYNAMIC: "DYNAMIC",
|
|
56
|
+
SSM_STORE: "SSM_STORE",
|
|
57
|
+
};
|
|
58
|
+
exports.LaunchActionType = {
|
|
59
|
+
SSM_AUTOMATION: "SSM_AUTOMATION",
|
|
60
|
+
SSM_COMMAND: "SSM_COMMAND",
|
|
61
|
+
};
|
|
62
|
+
exports.LaunchActionRunStatus = {
|
|
63
|
+
FAILED: "FAILED",
|
|
64
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
65
|
+
SUCCEEDED: "SUCCEEDED",
|
|
66
|
+
};
|
|
47
67
|
exports.JobStatus = {
|
|
48
68
|
COMPLETED: "COMPLETED",
|
|
49
69
|
PENDING: "PENDING",
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListLaunchActions = void 0;
|
|
4
|
+
const ListLaunchActionsCommand_1 = require("../commands/ListLaunchActionsCommand");
|
|
5
|
+
const DrsClient_1 = require("../DrsClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListLaunchActionsCommand_1.ListLaunchActionsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListLaunchActions(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof DrsClient_1.DrsClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected Drs | DrsClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListLaunchActions = paginateListLaunchActions;
|
|
@@ -11,4 +11,5 @@ tslib_1.__exportStar(require("./DescribeSourceNetworksPaginator"), exports);
|
|
|
11
11
|
tslib_1.__exportStar(require("./DescribeSourceServersPaginator"), exports);
|
|
12
12
|
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
13
13
|
tslib_1.__exportStar(require("./ListExtensibleSourceServersPaginator"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./ListLaunchActionsPaginator"), exports);
|
|
14
15
|
tslib_1.__exportStar(require("./ListStagingAccountsPaginator"), exports);
|