@aws-sdk/client-drs 3.312.0 → 3.315.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 (44) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/Drs.js +60 -0
  3. package/dist-cjs/commands/CreateLaunchConfigurationTemplateCommand.js +46 -0
  4. package/dist-cjs/commands/DeleteLaunchConfigurationTemplateCommand.js +45 -0
  5. package/dist-cjs/commands/DescribeLaunchConfigurationTemplatesCommand.js +46 -0
  6. package/dist-cjs/commands/UpdateLaunchConfigurationTemplateCommand.js +46 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/models/models_0.js +39 -10
  9. package/dist-cjs/pagination/DescribeLaunchConfigurationTemplatesPaginator.js +29 -0
  10. package/dist-cjs/pagination/index.js +1 -0
  11. package/dist-cjs/protocols/Aws_restJson1.js +794 -1620
  12. package/dist-es/Drs.js +60 -0
  13. package/dist-es/commands/CreateLaunchConfigurationTemplateCommand.js +42 -0
  14. package/dist-es/commands/DeleteLaunchConfigurationTemplateCommand.js +41 -0
  15. package/dist-es/commands/DescribeLaunchConfigurationTemplatesCommand.js +42 -0
  16. package/dist-es/commands/UpdateLaunchConfigurationTemplateCommand.js +42 -0
  17. package/dist-es/commands/index.js +4 -0
  18. package/dist-es/models/models_0.js +32 -8
  19. package/dist-es/pagination/DescribeLaunchConfigurationTemplatesPaginator.js +25 -0
  20. package/dist-es/pagination/index.js +1 -0
  21. package/dist-es/protocols/Aws_restJson1.js +735 -1569
  22. package/dist-types/Drs.d.ts +32 -0
  23. package/dist-types/DrsClient.d.ts +6 -2
  24. package/dist-types/commands/CreateLaunchConfigurationTemplateCommand.d.ts +90 -0
  25. package/dist-types/commands/DeleteLaunchConfigurationTemplateCommand.d.ts +78 -0
  26. package/dist-types/commands/DescribeLaunchConfigurationTemplatesCommand.d.ts +82 -0
  27. package/dist-types/commands/UpdateLaunchConfigurationTemplateCommand.d.ts +88 -0
  28. package/dist-types/commands/index.d.ts +4 -0
  29. package/dist-types/models/models_0.d.ts +216 -34
  30. package/dist-types/pagination/DescribeLaunchConfigurationTemplatesPaginator.d.ts +7 -0
  31. package/dist-types/pagination/index.d.ts +1 -0
  32. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  33. package/dist-types/ts3.4/Drs.d.ts +92 -0
  34. package/dist-types/ts3.4/DrsClient.d.ts +24 -0
  35. package/dist-types/ts3.4/commands/CreateLaunchConfigurationTemplateCommand.d.ts +41 -0
  36. package/dist-types/ts3.4/commands/DeleteLaunchConfigurationTemplateCommand.d.ts +41 -0
  37. package/dist-types/ts3.4/commands/DescribeLaunchConfigurationTemplatesCommand.d.ts +41 -0
  38. package/dist-types/ts3.4/commands/UpdateLaunchConfigurationTemplateCommand.d.ts +41 -0
  39. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  40. package/dist-types/ts3.4/models/models_0.d.ts +82 -15
  41. package/dist-types/ts3.4/pagination/DescribeLaunchConfigurationTemplatesPaginator.d.ts +11 -0
  42. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  43. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
  44. package/package.json +6 -6
package/dist-es/Drs.js CHANGED
@@ -1,11 +1,14 @@
1
1
  import { CreateExtendedSourceServerCommand, } from "./commands/CreateExtendedSourceServerCommand";
2
+ import { CreateLaunchConfigurationTemplateCommand, } from "./commands/CreateLaunchConfigurationTemplateCommand";
2
3
  import { CreateReplicationConfigurationTemplateCommand, } from "./commands/CreateReplicationConfigurationTemplateCommand";
3
4
  import { DeleteJobCommand } from "./commands/DeleteJobCommand";
5
+ import { DeleteLaunchConfigurationTemplateCommand, } from "./commands/DeleteLaunchConfigurationTemplateCommand";
4
6
  import { DeleteRecoveryInstanceCommand, } from "./commands/DeleteRecoveryInstanceCommand";
5
7
  import { DeleteReplicationConfigurationTemplateCommand, } from "./commands/DeleteReplicationConfigurationTemplateCommand";
6
8
  import { DeleteSourceServerCommand, } from "./commands/DeleteSourceServerCommand";
7
9
  import { DescribeJobLogItemsCommand, } from "./commands/DescribeJobLogItemsCommand";
8
10
  import { DescribeJobsCommand, } from "./commands/DescribeJobsCommand";
11
+ import { DescribeLaunchConfigurationTemplatesCommand, } from "./commands/DescribeLaunchConfigurationTemplatesCommand";
9
12
  import { DescribeRecoveryInstancesCommand, } from "./commands/DescribeRecoveryInstancesCommand";
10
13
  import { DescribeRecoverySnapshotsCommand, } from "./commands/DescribeRecoverySnapshotsCommand";
11
14
  import { DescribeReplicationConfigurationTemplatesCommand, } from "./commands/DescribeReplicationConfigurationTemplatesCommand";
@@ -31,6 +34,7 @@ import { TerminateRecoveryInstancesCommand, } from "./commands/TerminateRecovery
31
34
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
32
35
  import { UpdateFailbackReplicationConfigurationCommand, } from "./commands/UpdateFailbackReplicationConfigurationCommand";
33
36
  import { UpdateLaunchConfigurationCommand, } from "./commands/UpdateLaunchConfigurationCommand";
37
+ import { UpdateLaunchConfigurationTemplateCommand, } from "./commands/UpdateLaunchConfigurationTemplateCommand";
34
38
  import { UpdateReplicationConfigurationCommand, } from "./commands/UpdateReplicationConfigurationCommand";
35
39
  import { UpdateReplicationConfigurationTemplateCommand, } from "./commands/UpdateReplicationConfigurationTemplateCommand";
36
40
  import { DrsClient } from "./DrsClient";
@@ -49,6 +53,20 @@ export class Drs extends DrsClient {
49
53
  return this.send(command, optionsOrCb);
50
54
  }
51
55
  }
56
+ createLaunchConfigurationTemplate(args, optionsOrCb, cb) {
57
+ const command = new CreateLaunchConfigurationTemplateCommand(args);
58
+ if (typeof optionsOrCb === "function") {
59
+ this.send(command, optionsOrCb);
60
+ }
61
+ else if (typeof cb === "function") {
62
+ if (typeof optionsOrCb !== "object")
63
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
64
+ this.send(command, optionsOrCb || {}, cb);
65
+ }
66
+ else {
67
+ return this.send(command, optionsOrCb);
68
+ }
69
+ }
52
70
  createReplicationConfigurationTemplate(args, optionsOrCb, cb) {
53
71
  const command = new CreateReplicationConfigurationTemplateCommand(args);
54
72
  if (typeof optionsOrCb === "function") {
@@ -77,6 +95,20 @@ export class Drs extends DrsClient {
77
95
  return this.send(command, optionsOrCb);
78
96
  }
79
97
  }
98
+ deleteLaunchConfigurationTemplate(args, optionsOrCb, cb) {
99
+ const command = new DeleteLaunchConfigurationTemplateCommand(args);
100
+ if (typeof optionsOrCb === "function") {
101
+ this.send(command, optionsOrCb);
102
+ }
103
+ else if (typeof cb === "function") {
104
+ if (typeof optionsOrCb !== "object")
105
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
106
+ this.send(command, optionsOrCb || {}, cb);
107
+ }
108
+ else {
109
+ return this.send(command, optionsOrCb);
110
+ }
111
+ }
80
112
  deleteRecoveryInstance(args, optionsOrCb, cb) {
81
113
  const command = new DeleteRecoveryInstanceCommand(args);
82
114
  if (typeof optionsOrCb === "function") {
@@ -147,6 +179,20 @@ export class Drs extends DrsClient {
147
179
  return this.send(command, optionsOrCb);
148
180
  }
149
181
  }
182
+ describeLaunchConfigurationTemplates(args, optionsOrCb, cb) {
183
+ const command = new DescribeLaunchConfigurationTemplatesCommand(args);
184
+ if (typeof optionsOrCb === "function") {
185
+ this.send(command, optionsOrCb);
186
+ }
187
+ else if (typeof cb === "function") {
188
+ if (typeof optionsOrCb !== "object")
189
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
190
+ this.send(command, optionsOrCb || {}, cb);
191
+ }
192
+ else {
193
+ return this.send(command, optionsOrCb);
194
+ }
195
+ }
150
196
  describeRecoveryInstances(args, optionsOrCb, cb) {
151
197
  const command = new DescribeRecoveryInstancesCommand(args);
152
198
  if (typeof optionsOrCb === "function") {
@@ -497,6 +543,20 @@ export class Drs extends DrsClient {
497
543
  return this.send(command, optionsOrCb);
498
544
  }
499
545
  }
546
+ updateLaunchConfigurationTemplate(args, optionsOrCb, cb) {
547
+ const command = new UpdateLaunchConfigurationTemplateCommand(args);
548
+ if (typeof optionsOrCb === "function") {
549
+ this.send(command, optionsOrCb);
550
+ }
551
+ else if (typeof cb === "function") {
552
+ if (typeof optionsOrCb !== "object")
553
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
554
+ this.send(command, optionsOrCb || {}, cb);
555
+ }
556
+ else {
557
+ return this.send(command, optionsOrCb);
558
+ }
559
+ }
500
560
  updateReplicationConfiguration(args, optionsOrCb, cb) {
501
561
  const command = new UpdateReplicationConfigurationCommand(args);
502
562
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateLaunchConfigurationTemplateRequestFilterSensitiveLog, CreateLaunchConfigurationTemplateResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { de_CreateLaunchConfigurationTemplateCommand, se_CreateLaunchConfigurationTemplateCommand, } from "../protocols/Aws_restJson1";
6
+ export class CreateLaunchConfigurationTemplateCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateLaunchConfigurationTemplateCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "DrsClient";
25
+ const commandName = "CreateLaunchConfigurationTemplateCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: CreateLaunchConfigurationTemplateRequestFilterSensitiveLog,
31
+ outputFilterSensitiveLog: CreateLaunchConfigurationTemplateResponseFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_CreateLaunchConfigurationTemplateCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_CreateLaunchConfigurationTemplateCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_DeleteLaunchConfigurationTemplateCommand, se_DeleteLaunchConfigurationTemplateCommand, } from "../protocols/Aws_restJson1";
5
+ export class DeleteLaunchConfigurationTemplateCommand extends $Command {
6
+ static getEndpointParameterInstructions() {
7
+ return {
8
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
9
+ Endpoint: { type: "builtInParams", name: "endpoint" },
10
+ Region: { type: "builtInParams", name: "region" },
11
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteLaunchConfigurationTemplateCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "DrsClient";
24
+ const commandName = "DeleteLaunchConfigurationTemplateCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return se_DeleteLaunchConfigurationTemplateCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return de_DeleteLaunchConfigurationTemplateCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DescribeLaunchConfigurationTemplatesResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { de_DescribeLaunchConfigurationTemplatesCommand, se_DescribeLaunchConfigurationTemplatesCommand, } from "../protocols/Aws_restJson1";
6
+ export class DescribeLaunchConfigurationTemplatesCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeLaunchConfigurationTemplatesCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "DrsClient";
25
+ const commandName = "DescribeLaunchConfigurationTemplatesCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: DescribeLaunchConfigurationTemplatesResponseFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_DescribeLaunchConfigurationTemplatesCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_DescribeLaunchConfigurationTemplatesCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UpdateLaunchConfigurationTemplateResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { de_UpdateLaunchConfigurationTemplateCommand, se_UpdateLaunchConfigurationTemplateCommand, } from "../protocols/Aws_restJson1";
6
+ export class UpdateLaunchConfigurationTemplateCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateLaunchConfigurationTemplateCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "DrsClient";
25
+ const commandName = "UpdateLaunchConfigurationTemplateCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: UpdateLaunchConfigurationTemplateResponseFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_UpdateLaunchConfigurationTemplateCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_UpdateLaunchConfigurationTemplateCommand(output, context);
41
+ }
42
+ }
@@ -1,11 +1,14 @@
1
1
  export * from "./CreateExtendedSourceServerCommand";
2
+ export * from "./CreateLaunchConfigurationTemplateCommand";
2
3
  export * from "./CreateReplicationConfigurationTemplateCommand";
3
4
  export * from "./DeleteJobCommand";
5
+ export * from "./DeleteLaunchConfigurationTemplateCommand";
4
6
  export * from "./DeleteRecoveryInstanceCommand";
5
7
  export * from "./DeleteReplicationConfigurationTemplateCommand";
6
8
  export * from "./DeleteSourceServerCommand";
7
9
  export * from "./DescribeJobLogItemsCommand";
8
10
  export * from "./DescribeJobsCommand";
11
+ export * from "./DescribeLaunchConfigurationTemplatesCommand";
9
12
  export * from "./DescribeRecoveryInstancesCommand";
10
13
  export * from "./DescribeRecoverySnapshotsCommand";
11
14
  export * from "./DescribeReplicationConfigurationTemplatesCommand";
@@ -31,5 +34,6 @@ export * from "./TerminateRecoveryInstancesCommand";
31
34
  export * from "./UntagResourceCommand";
32
35
  export * from "./UpdateFailbackReplicationConfigurationCommand";
33
36
  export * from "./UpdateLaunchConfigurationCommand";
37
+ export * from "./UpdateLaunchConfigurationTemplateCommand";
34
38
  export * from "./UpdateReplicationConfigurationCommand";
35
39
  export * from "./UpdateReplicationConfigurationTemplateCommand";
@@ -196,6 +196,14 @@ export class ValidationException extends __BaseException {
196
196
  this.fieldList = opts.fieldList;
197
197
  }
198
198
  }
199
+ export const LaunchDisposition = {
200
+ STARTED: "STARTED",
201
+ STOPPED: "STOPPED",
202
+ };
203
+ export const TargetInstanceTypeRightSizingMethod = {
204
+ BASIC: "BASIC",
205
+ NONE: "NONE",
206
+ };
199
207
  export const ReplicationConfigurationDataPlaneRouting = {
200
208
  PRIVATE_IP: "PRIVATE_IP",
201
209
  PUBLIC_IP: "PUBLIC_IP",
@@ -346,14 +354,6 @@ export const RecoverySnapshotsOrder = {
346
354
  ASC: "ASC",
347
355
  DESC: "DESC",
348
356
  };
349
- export const LaunchDisposition = {
350
- STARTED: "STARTED",
351
- STOPPED: "STOPPED",
352
- };
353
- export const TargetInstanceTypeRightSizingMethod = {
354
- BASIC: "BASIC",
355
- NONE: "NONE",
356
- };
357
357
  export const ReplicationConfigurationReplicatedDiskStagingDiskType = {
358
358
  AUTO: "AUTO",
359
359
  GP2: "GP2",
@@ -375,6 +375,20 @@ export const CreateExtendedSourceServerResponseFilterSensitiveLog = (obj) => ({
375
375
  ...obj,
376
376
  ...(obj.sourceServer && { sourceServer: SourceServerFilterSensitiveLog(obj.sourceServer) }),
377
377
  });
378
+ export const CreateLaunchConfigurationTemplateRequestFilterSensitiveLog = (obj) => ({
379
+ ...obj,
380
+ ...(obj.tags && { tags: SENSITIVE_STRING }),
381
+ });
382
+ export const LaunchConfigurationTemplateFilterSensitiveLog = (obj) => ({
383
+ ...obj,
384
+ ...(obj.tags && { tags: SENSITIVE_STRING }),
385
+ });
386
+ export const CreateLaunchConfigurationTemplateResponseFilterSensitiveLog = (obj) => ({
387
+ ...obj,
388
+ ...(obj.launchConfigurationTemplate && {
389
+ launchConfigurationTemplate: LaunchConfigurationTemplateFilterSensitiveLog(obj.launchConfigurationTemplate),
390
+ }),
391
+ });
378
392
  export const CreateReplicationConfigurationTemplateRequestFilterSensitiveLog = (obj) => ({
379
393
  ...obj,
380
394
  ...(obj.stagingAreaTags && { stagingAreaTags: SENSITIVE_STRING }),
@@ -393,6 +407,10 @@ export const DescribeJobsResponseFilterSensitiveLog = (obj) => ({
393
407
  ...obj,
394
408
  ...(obj.items && { items: obj.items.map((item) => JobFilterSensitiveLog(item)) }),
395
409
  });
410
+ export const DescribeLaunchConfigurationTemplatesResponseFilterSensitiveLog = (obj) => ({
411
+ ...obj,
412
+ ...(obj.items && { items: obj.items.map((item) => LaunchConfigurationTemplateFilterSensitiveLog(item)) }),
413
+ });
396
414
  export const RecoveryInstanceFilterSensitiveLog = (obj) => ({
397
415
  ...obj,
398
416
  ...(obj.tags && { tags: SENSITIVE_STRING }),
@@ -409,6 +427,12 @@ export const DescribeSourceServersResponseFilterSensitiveLog = (obj) => ({
409
427
  ...obj,
410
428
  ...(obj.items && { items: obj.items.map((item) => SourceServerFilterSensitiveLog(item)) }),
411
429
  });
430
+ export const UpdateLaunchConfigurationTemplateResponseFilterSensitiveLog = (obj) => ({
431
+ ...obj,
432
+ ...(obj.launchConfigurationTemplate && {
433
+ launchConfigurationTemplate: LaunchConfigurationTemplateFilterSensitiveLog(obj.launchConfigurationTemplate),
434
+ }),
435
+ });
412
436
  export const StagingSourceServerFilterSensitiveLog = (obj) => ({
413
437
  ...obj,
414
438
  ...(obj.tags && { tags: SENSITIVE_STRING }),
@@ -0,0 +1,25 @@
1
+ import { DescribeLaunchConfigurationTemplatesCommand, } from "../commands/DescribeLaunchConfigurationTemplatesCommand";
2
+ import { DrsClient } from "../DrsClient";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new DescribeLaunchConfigurationTemplatesCommand(input), ...args);
5
+ };
6
+ export async function* paginateDescribeLaunchConfigurationTemplates(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.nextToken = token;
12
+ input["maxResults"] = config.pageSize;
13
+ if (config.client instanceof DrsClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected Drs | DrsClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.nextToken;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -1,5 +1,6 @@
1
1
  export * from "./DescribeJobLogItemsPaginator";
2
2
  export * from "./DescribeJobsPaginator";
3
+ export * from "./DescribeLaunchConfigurationTemplatesPaginator";
3
4
  export * from "./DescribeRecoveryInstancesPaginator";
4
5
  export * from "./DescribeRecoverySnapshotsPaginator";
5
6
  export * from "./DescribeReplicationConfigurationTemplatesPaginator";