@aws-sdk/client-drs 3.312.0 → 3.316.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 +32 -0
- package/dist-cjs/Drs.js +47 -490
- package/dist-cjs/commands/CreateLaunchConfigurationTemplateCommand.js +46 -0
- package/dist-cjs/commands/DeleteLaunchConfigurationTemplateCommand.js +45 -0
- package/dist-cjs/commands/DescribeLaunchConfigurationTemplatesCommand.js +46 -0
- package/dist-cjs/commands/UpdateLaunchConfigurationTemplateCommand.js +46 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +39 -10
- package/dist-cjs/pagination/DescribeLaunchConfigurationTemplatesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +794 -1620
- package/dist-es/Drs.js +47 -490
- package/dist-es/commands/CreateLaunchConfigurationTemplateCommand.js +42 -0
- package/dist-es/commands/DeleteLaunchConfigurationTemplateCommand.js +41 -0
- package/dist-es/commands/DescribeLaunchConfigurationTemplatesCommand.js +42 -0
- package/dist-es/commands/UpdateLaunchConfigurationTemplateCommand.js +42 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +32 -8
- package/dist-es/pagination/DescribeLaunchConfigurationTemplatesPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +735 -1569
- package/dist-types/Drs.d.ts +70 -85
- package/dist-types/DrsClient.d.ts +6 -2
- package/dist-types/commands/CreateLaunchConfigurationTemplateCommand.d.ts +90 -0
- package/dist-types/commands/DeleteLaunchConfigurationTemplateCommand.d.ts +78 -0
- package/dist-types/commands/DescribeLaunchConfigurationTemplatesCommand.d.ts +82 -0
- package/dist-types/commands/UpdateLaunchConfigurationTemplateCommand.d.ts +88 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +216 -34
- package/dist-types/pagination/DescribeLaunchConfigurationTemplatesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/ts3.4/Drs.d.ts +94 -1
- package/dist-types/ts3.4/DrsClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateLaunchConfigurationTemplateCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteLaunchConfigurationTemplateCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeLaunchConfigurationTemplatesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateLaunchConfigurationTemplateCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +82 -15
- package/dist-types/ts3.4/pagination/DescribeLaunchConfigurationTemplatesPaginator.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 +48 -0
- package/package.json +6 -6
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { DrsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DrsClient";
|
|
5
|
+
import { DescribeLaunchConfigurationTemplatesRequest, DescribeLaunchConfigurationTemplatesResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link DescribeLaunchConfigurationTemplatesCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface DescribeLaunchConfigurationTemplatesCommandInput extends DescribeLaunchConfigurationTemplatesRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link DescribeLaunchConfigurationTemplatesCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface DescribeLaunchConfigurationTemplatesCommandOutput extends DescribeLaunchConfigurationTemplatesResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { DrsClient, DescribeLaunchConfigurationTemplatesCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
|
+
* // const { DrsClient, DescribeLaunchConfigurationTemplatesCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
|
+
* const client = new DrsClient(config);
|
|
29
|
+
* const input = { // DescribeLaunchConfigurationTemplatesRequest
|
|
30
|
+
* launchConfigurationTemplateIDs: [ // LaunchConfigurationTemplateIDs
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* maxResults: Number("int"),
|
|
34
|
+
* nextToken: "STRING_VALUE",
|
|
35
|
+
* };
|
|
36
|
+
* const command = new DescribeLaunchConfigurationTemplatesCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* @param DescribeLaunchConfigurationTemplatesCommandInput - {@link DescribeLaunchConfigurationTemplatesCommandInput}
|
|
41
|
+
* @returns {@link DescribeLaunchConfigurationTemplatesCommandOutput}
|
|
42
|
+
* @see {@link DescribeLaunchConfigurationTemplatesCommandInput} for command's `input` shape.
|
|
43
|
+
* @see {@link DescribeLaunchConfigurationTemplatesCommandOutput} for command's `response` shape.
|
|
44
|
+
* @see {@link DrsClientResolvedConfig | config} for DrsClient's `config` shape.
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link InternalServerException} (server fault)
|
|
47
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
50
|
+
* <p>The resource for this operation was not found.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
53
|
+
* <p>The request was denied due to request throttling.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link UninitializedAccountException} (client fault)
|
|
56
|
+
* <p>The account performing the request has not been initialized.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ValidationException} (client fault)
|
|
59
|
+
* <p>The input fails to satisfy the constraints specified by the AWS service.</p>
|
|
60
|
+
*
|
|
61
|
+
*
|
|
62
|
+
*/
|
|
63
|
+
export declare class DescribeLaunchConfigurationTemplatesCommand extends $Command<DescribeLaunchConfigurationTemplatesCommandInput, DescribeLaunchConfigurationTemplatesCommandOutput, DrsClientResolvedConfig> {
|
|
64
|
+
readonly input: DescribeLaunchConfigurationTemplatesCommandInput;
|
|
65
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
constructor(input: DescribeLaunchConfigurationTemplatesCommandInput);
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DrsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeLaunchConfigurationTemplatesCommandInput, DescribeLaunchConfigurationTemplatesCommandOutput>;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
private serialize;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
private deserialize;
|
|
82
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { DrsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DrsClient";
|
|
5
|
+
import { UpdateLaunchConfigurationTemplateRequest, UpdateLaunchConfigurationTemplateResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link UpdateLaunchConfigurationTemplateCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface UpdateLaunchConfigurationTemplateCommandInput extends UpdateLaunchConfigurationTemplateRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link UpdateLaunchConfigurationTemplateCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateLaunchConfigurationTemplateCommandOutput extends UpdateLaunchConfigurationTemplateResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Updates an existing Launch Configuration Template by ID.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { DrsClient, UpdateLaunchConfigurationTemplateCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
|
+
* // const { DrsClient, UpdateLaunchConfigurationTemplateCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
|
+
* const client = new DrsClient(config);
|
|
29
|
+
* const input = { // UpdateLaunchConfigurationTemplateRequest
|
|
30
|
+
* launchConfigurationTemplateID: "STRING_VALUE", // required
|
|
31
|
+
* launchDisposition: "STRING_VALUE",
|
|
32
|
+
* targetInstanceTypeRightSizingMethod: "STRING_VALUE",
|
|
33
|
+
* copyPrivateIp: true || false,
|
|
34
|
+
* copyTags: true || false,
|
|
35
|
+
* licensing: { // Licensing
|
|
36
|
+
* osByol: true || false,
|
|
37
|
+
* },
|
|
38
|
+
* };
|
|
39
|
+
* const command = new UpdateLaunchConfigurationTemplateCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* @param UpdateLaunchConfigurationTemplateCommandInput - {@link UpdateLaunchConfigurationTemplateCommandInput}
|
|
44
|
+
* @returns {@link UpdateLaunchConfigurationTemplateCommandOutput}
|
|
45
|
+
* @see {@link UpdateLaunchConfigurationTemplateCommandInput} for command's `input` shape.
|
|
46
|
+
* @see {@link UpdateLaunchConfigurationTemplateCommandOutput} for command's `response` shape.
|
|
47
|
+
* @see {@link DrsClientResolvedConfig | config} for DrsClient's `config` shape.
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
50
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link InternalServerException} (server fault)
|
|
53
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
56
|
+
* <p>The resource for this operation was not found.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
59
|
+
* <p>The request was denied due to request throttling.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link UninitializedAccountException} (client fault)
|
|
62
|
+
* <p>The account performing the request has not been initialized.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ValidationException} (client fault)
|
|
65
|
+
* <p>The input fails to satisfy the constraints specified by the AWS service.</p>
|
|
66
|
+
*
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
export declare class UpdateLaunchConfigurationTemplateCommand extends $Command<UpdateLaunchConfigurationTemplateCommandInput, UpdateLaunchConfigurationTemplateCommandOutput, DrsClientResolvedConfig> {
|
|
70
|
+
readonly input: UpdateLaunchConfigurationTemplateCommandInput;
|
|
71
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
constructor(input: UpdateLaunchConfigurationTemplateCommandInput);
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DrsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateLaunchConfigurationTemplateCommandInput, UpdateLaunchConfigurationTemplateCommandOutput>;
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
private serialize;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
private deserialize;
|
|
88
|
+
}
|
|
@@ -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";
|
|
@@ -513,6 +513,10 @@ export interface SourceProperties {
|
|
|
513
513
|
* <p>Operating system.</p>
|
|
514
514
|
*/
|
|
515
515
|
os?: OS;
|
|
516
|
+
/**
|
|
517
|
+
* <p>Are EC2 nitro instance types supported when recovering the Source Server.</p>
|
|
518
|
+
*/
|
|
519
|
+
supportsNitroInstances?: boolean;
|
|
516
520
|
}
|
|
517
521
|
/**
|
|
518
522
|
* @public
|
|
@@ -766,6 +770,116 @@ export declare class ValidationException extends __BaseException {
|
|
|
766
770
|
*/
|
|
767
771
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
768
772
|
}
|
|
773
|
+
/**
|
|
774
|
+
* @public
|
|
775
|
+
* @enum
|
|
776
|
+
*/
|
|
777
|
+
export declare const LaunchDisposition: {
|
|
778
|
+
readonly STARTED: "STARTED";
|
|
779
|
+
readonly STOPPED: "STOPPED";
|
|
780
|
+
};
|
|
781
|
+
/**
|
|
782
|
+
* @public
|
|
783
|
+
*/
|
|
784
|
+
export type LaunchDisposition = (typeof LaunchDisposition)[keyof typeof LaunchDisposition];
|
|
785
|
+
/**
|
|
786
|
+
* @public
|
|
787
|
+
* <p>Configuration of a machine's license.</p>
|
|
788
|
+
*/
|
|
789
|
+
export interface Licensing {
|
|
790
|
+
/**
|
|
791
|
+
* <p>Whether to enable "Bring your own license" or not.</p>
|
|
792
|
+
*/
|
|
793
|
+
osByol?: boolean;
|
|
794
|
+
}
|
|
795
|
+
/**
|
|
796
|
+
* @public
|
|
797
|
+
* @enum
|
|
798
|
+
*/
|
|
799
|
+
export declare const TargetInstanceTypeRightSizingMethod: {
|
|
800
|
+
readonly BASIC: "BASIC";
|
|
801
|
+
readonly NONE: "NONE";
|
|
802
|
+
};
|
|
803
|
+
/**
|
|
804
|
+
* @public
|
|
805
|
+
*/
|
|
806
|
+
export type TargetInstanceTypeRightSizingMethod = (typeof TargetInstanceTypeRightSizingMethod)[keyof typeof TargetInstanceTypeRightSizingMethod];
|
|
807
|
+
/**
|
|
808
|
+
* @public
|
|
809
|
+
*/
|
|
810
|
+
export interface CreateLaunchConfigurationTemplateRequest {
|
|
811
|
+
/**
|
|
812
|
+
* <p>Request to associate tags during creation of a Launch Configuration Template.</p>
|
|
813
|
+
*/
|
|
814
|
+
tags?: Record<string, string>;
|
|
815
|
+
/**
|
|
816
|
+
* <p>Launch disposition.</p>
|
|
817
|
+
*/
|
|
818
|
+
launchDisposition?: LaunchDisposition | string;
|
|
819
|
+
/**
|
|
820
|
+
* <p>Target instance type right-sizing method.</p>
|
|
821
|
+
*/
|
|
822
|
+
targetInstanceTypeRightSizingMethod?: TargetInstanceTypeRightSizingMethod | string;
|
|
823
|
+
/**
|
|
824
|
+
* <p>Copy private IP.</p>
|
|
825
|
+
*/
|
|
826
|
+
copyPrivateIp?: boolean;
|
|
827
|
+
/**
|
|
828
|
+
* <p>Copy tags.</p>
|
|
829
|
+
*/
|
|
830
|
+
copyTags?: boolean;
|
|
831
|
+
/**
|
|
832
|
+
* <p>Licensing.</p>
|
|
833
|
+
*/
|
|
834
|
+
licensing?: Licensing;
|
|
835
|
+
}
|
|
836
|
+
/**
|
|
837
|
+
* @public
|
|
838
|
+
* <p>Account level Launch Configuration Template.</p>
|
|
839
|
+
*/
|
|
840
|
+
export interface LaunchConfigurationTemplate {
|
|
841
|
+
/**
|
|
842
|
+
* <p>ID of the Launch Configuration Template.</p>
|
|
843
|
+
*/
|
|
844
|
+
launchConfigurationTemplateID?: string;
|
|
845
|
+
/**
|
|
846
|
+
* <p>ARN of the Launch Configuration Template.</p>
|
|
847
|
+
*/
|
|
848
|
+
arn?: string;
|
|
849
|
+
/**
|
|
850
|
+
* <p>Tags of the Launch Configuration Template.</p>
|
|
851
|
+
*/
|
|
852
|
+
tags?: Record<string, string>;
|
|
853
|
+
/**
|
|
854
|
+
* <p>Launch disposition.</p>
|
|
855
|
+
*/
|
|
856
|
+
launchDisposition?: LaunchDisposition | string;
|
|
857
|
+
/**
|
|
858
|
+
* <p>Target instance type right-sizing method.</p>
|
|
859
|
+
*/
|
|
860
|
+
targetInstanceTypeRightSizingMethod?: TargetInstanceTypeRightSizingMethod | string;
|
|
861
|
+
/**
|
|
862
|
+
* <p>Copy private IP.</p>
|
|
863
|
+
*/
|
|
864
|
+
copyPrivateIp?: boolean;
|
|
865
|
+
/**
|
|
866
|
+
* <p>Copy tags.</p>
|
|
867
|
+
*/
|
|
868
|
+
copyTags?: boolean;
|
|
869
|
+
/**
|
|
870
|
+
* <p>Licensing.</p>
|
|
871
|
+
*/
|
|
872
|
+
licensing?: Licensing;
|
|
873
|
+
}
|
|
874
|
+
/**
|
|
875
|
+
* @public
|
|
876
|
+
*/
|
|
877
|
+
export interface CreateLaunchConfigurationTemplateResponse {
|
|
878
|
+
/**
|
|
879
|
+
* <p>Created Launch Configuration Template.</p>
|
|
880
|
+
*/
|
|
881
|
+
launchConfigurationTemplate?: LaunchConfigurationTemplate;
|
|
882
|
+
}
|
|
769
883
|
/**
|
|
770
884
|
* @public
|
|
771
885
|
* @enum
|
|
@@ -995,6 +1109,20 @@ export interface DeleteJobRequest {
|
|
|
995
1109
|
*/
|
|
996
1110
|
export interface DeleteJobResponse {
|
|
997
1111
|
}
|
|
1112
|
+
/**
|
|
1113
|
+
* @public
|
|
1114
|
+
*/
|
|
1115
|
+
export interface DeleteLaunchConfigurationTemplateRequest {
|
|
1116
|
+
/**
|
|
1117
|
+
* <p>The ID of the Launch Configuration Template to be deleted.</p>
|
|
1118
|
+
*/
|
|
1119
|
+
launchConfigurationTemplateID: string | undefined;
|
|
1120
|
+
}
|
|
1121
|
+
/**
|
|
1122
|
+
* @public
|
|
1123
|
+
*/
|
|
1124
|
+
export interface DeleteLaunchConfigurationTemplateResponse {
|
|
1125
|
+
}
|
|
998
1126
|
/**
|
|
999
1127
|
* @public
|
|
1000
1128
|
*/
|
|
@@ -1283,6 +1411,36 @@ export interface DescribeJobsResponse {
|
|
|
1283
1411
|
*/
|
|
1284
1412
|
nextToken?: string;
|
|
1285
1413
|
}
|
|
1414
|
+
/**
|
|
1415
|
+
* @public
|
|
1416
|
+
*/
|
|
1417
|
+
export interface DescribeLaunchConfigurationTemplatesRequest {
|
|
1418
|
+
/**
|
|
1419
|
+
* <p>Request to filter Launch Configuration Templates list by Launch Configuration Template ID.</p>
|
|
1420
|
+
*/
|
|
1421
|
+
launchConfigurationTemplateIDs?: string[];
|
|
1422
|
+
/**
|
|
1423
|
+
* <p>Maximum results to be returned in DescribeLaunchConfigurationTemplates.</p>
|
|
1424
|
+
*/
|
|
1425
|
+
maxResults?: number;
|
|
1426
|
+
/**
|
|
1427
|
+
* <p>The token of the next Launch Configuration Template to retrieve.</p>
|
|
1428
|
+
*/
|
|
1429
|
+
nextToken?: string;
|
|
1430
|
+
}
|
|
1431
|
+
/**
|
|
1432
|
+
* @public
|
|
1433
|
+
*/
|
|
1434
|
+
export interface DescribeLaunchConfigurationTemplatesResponse {
|
|
1435
|
+
/**
|
|
1436
|
+
* <p>List of items returned by DescribeLaunchConfigurationTemplates.</p>
|
|
1437
|
+
*/
|
|
1438
|
+
items?: LaunchConfigurationTemplate[];
|
|
1439
|
+
/**
|
|
1440
|
+
* <p>The token of the next Launch Configuration Template to retrieve.</p>
|
|
1441
|
+
*/
|
|
1442
|
+
nextToken?: string;
|
|
1443
|
+
}
|
|
1286
1444
|
/**
|
|
1287
1445
|
* @public
|
|
1288
1446
|
* <p>A set of filters by which to return Recovery Instances.</p>
|
|
@@ -1939,6 +2097,44 @@ export interface InitializeServiceRequest {
|
|
|
1939
2097
|
*/
|
|
1940
2098
|
export interface InitializeServiceResponse {
|
|
1941
2099
|
}
|
|
2100
|
+
/**
|
|
2101
|
+
* @public
|
|
2102
|
+
*/
|
|
2103
|
+
export interface UpdateLaunchConfigurationTemplateRequest {
|
|
2104
|
+
/**
|
|
2105
|
+
* <p>Launch Configuration Template ID.</p>
|
|
2106
|
+
*/
|
|
2107
|
+
launchConfigurationTemplateID: string | undefined;
|
|
2108
|
+
/**
|
|
2109
|
+
* <p>Launch disposition.</p>
|
|
2110
|
+
*/
|
|
2111
|
+
launchDisposition?: LaunchDisposition | string;
|
|
2112
|
+
/**
|
|
2113
|
+
* <p>Target instance type right-sizing method.</p>
|
|
2114
|
+
*/
|
|
2115
|
+
targetInstanceTypeRightSizingMethod?: TargetInstanceTypeRightSizingMethod | string;
|
|
2116
|
+
/**
|
|
2117
|
+
* <p>Copy private IP.</p>
|
|
2118
|
+
*/
|
|
2119
|
+
copyPrivateIp?: boolean;
|
|
2120
|
+
/**
|
|
2121
|
+
* <p>Copy tags.</p>
|
|
2122
|
+
*/
|
|
2123
|
+
copyTags?: boolean;
|
|
2124
|
+
/**
|
|
2125
|
+
* <p>Licensing.</p>
|
|
2126
|
+
*/
|
|
2127
|
+
licensing?: Licensing;
|
|
2128
|
+
}
|
|
2129
|
+
/**
|
|
2130
|
+
* @public
|
|
2131
|
+
*/
|
|
2132
|
+
export interface UpdateLaunchConfigurationTemplateResponse {
|
|
2133
|
+
/**
|
|
2134
|
+
* <p>Updated Launch Configuration Template.</p>
|
|
2135
|
+
*/
|
|
2136
|
+
launchConfigurationTemplate?: LaunchConfigurationTemplate;
|
|
2137
|
+
}
|
|
1942
2138
|
/**
|
|
1943
2139
|
* @public
|
|
1944
2140
|
*/
|
|
@@ -2227,40 +2423,6 @@ export interface GetLaunchConfigurationRequest {
|
|
|
2227
2423
|
*/
|
|
2228
2424
|
sourceServerID: string | undefined;
|
|
2229
2425
|
}
|
|
2230
|
-
/**
|
|
2231
|
-
* @public
|
|
2232
|
-
* @enum
|
|
2233
|
-
*/
|
|
2234
|
-
export declare const LaunchDisposition: {
|
|
2235
|
-
readonly STARTED: "STARTED";
|
|
2236
|
-
readonly STOPPED: "STOPPED";
|
|
2237
|
-
};
|
|
2238
|
-
/**
|
|
2239
|
-
* @public
|
|
2240
|
-
*/
|
|
2241
|
-
export type LaunchDisposition = (typeof LaunchDisposition)[keyof typeof LaunchDisposition];
|
|
2242
|
-
/**
|
|
2243
|
-
* @public
|
|
2244
|
-
* <p>Configuration of a machine's license.</p>
|
|
2245
|
-
*/
|
|
2246
|
-
export interface Licensing {
|
|
2247
|
-
/**
|
|
2248
|
-
* <p>Whether to enable "Bring your own license" or not.</p>
|
|
2249
|
-
*/
|
|
2250
|
-
osByol?: boolean;
|
|
2251
|
-
}
|
|
2252
|
-
/**
|
|
2253
|
-
* @public
|
|
2254
|
-
* @enum
|
|
2255
|
-
*/
|
|
2256
|
-
export declare const TargetInstanceTypeRightSizingMethod: {
|
|
2257
|
-
readonly BASIC: "BASIC";
|
|
2258
|
-
readonly NONE: "NONE";
|
|
2259
|
-
};
|
|
2260
|
-
/**
|
|
2261
|
-
* @public
|
|
2262
|
-
*/
|
|
2263
|
-
export type TargetInstanceTypeRightSizingMethod = (typeof TargetInstanceTypeRightSizingMethod)[keyof typeof TargetInstanceTypeRightSizingMethod];
|
|
2264
2426
|
/**
|
|
2265
2427
|
* @public
|
|
2266
2428
|
*/
|
|
@@ -2656,6 +2818,18 @@ export declare const SourceServerFilterSensitiveLog: (obj: SourceServer) => any;
|
|
|
2656
2818
|
* @internal
|
|
2657
2819
|
*/
|
|
2658
2820
|
export declare const CreateExtendedSourceServerResponseFilterSensitiveLog: (obj: CreateExtendedSourceServerResponse) => any;
|
|
2821
|
+
/**
|
|
2822
|
+
* @internal
|
|
2823
|
+
*/
|
|
2824
|
+
export declare const CreateLaunchConfigurationTemplateRequestFilterSensitiveLog: (obj: CreateLaunchConfigurationTemplateRequest) => any;
|
|
2825
|
+
/**
|
|
2826
|
+
* @internal
|
|
2827
|
+
*/
|
|
2828
|
+
export declare const LaunchConfigurationTemplateFilterSensitiveLog: (obj: LaunchConfigurationTemplate) => any;
|
|
2829
|
+
/**
|
|
2830
|
+
* @internal
|
|
2831
|
+
*/
|
|
2832
|
+
export declare const CreateLaunchConfigurationTemplateResponseFilterSensitiveLog: (obj: CreateLaunchConfigurationTemplateResponse) => any;
|
|
2659
2833
|
/**
|
|
2660
2834
|
* @internal
|
|
2661
2835
|
*/
|
|
@@ -2672,6 +2846,10 @@ export declare const JobFilterSensitiveLog: (obj: Job) => any;
|
|
|
2672
2846
|
* @internal
|
|
2673
2847
|
*/
|
|
2674
2848
|
export declare const DescribeJobsResponseFilterSensitiveLog: (obj: DescribeJobsResponse) => any;
|
|
2849
|
+
/**
|
|
2850
|
+
* @internal
|
|
2851
|
+
*/
|
|
2852
|
+
export declare const DescribeLaunchConfigurationTemplatesResponseFilterSensitiveLog: (obj: DescribeLaunchConfigurationTemplatesResponse) => any;
|
|
2675
2853
|
/**
|
|
2676
2854
|
* @internal
|
|
2677
2855
|
*/
|
|
@@ -2688,6 +2866,10 @@ export declare const DescribeReplicationConfigurationTemplatesResponseFilterSens
|
|
|
2688
2866
|
* @internal
|
|
2689
2867
|
*/
|
|
2690
2868
|
export declare const DescribeSourceServersResponseFilterSensitiveLog: (obj: DescribeSourceServersResponse) => any;
|
|
2869
|
+
/**
|
|
2870
|
+
* @internal
|
|
2871
|
+
*/
|
|
2872
|
+
export declare const UpdateLaunchConfigurationTemplateResponseFilterSensitiveLog: (obj: UpdateLaunchConfigurationTemplateResponse) => any;
|
|
2691
2873
|
/**
|
|
2692
2874
|
* @internal
|
|
2693
2875
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { DescribeLaunchConfigurationTemplatesCommandInput, DescribeLaunchConfigurationTemplatesCommandOutput } from "../commands/DescribeLaunchConfigurationTemplatesCommand";
|
|
3
|
+
import { DrsPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateDescribeLaunchConfigurationTemplates(config: DrsPaginationConfiguration, input: DescribeLaunchConfigurationTemplatesCommandInput, ...additionalArguments: any): Paginator<DescribeLaunchConfigurationTemplatesCommandOutput>;
|
|
@@ -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";
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
2
|
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
3
3
|
import { CreateExtendedSourceServerCommandInput, CreateExtendedSourceServerCommandOutput } from "../commands/CreateExtendedSourceServerCommand";
|
|
4
|
+
import { CreateLaunchConfigurationTemplateCommandInput, CreateLaunchConfigurationTemplateCommandOutput } from "../commands/CreateLaunchConfigurationTemplateCommand";
|
|
4
5
|
import { CreateReplicationConfigurationTemplateCommandInput, CreateReplicationConfigurationTemplateCommandOutput } from "../commands/CreateReplicationConfigurationTemplateCommand";
|
|
5
6
|
import { DeleteJobCommandInput, DeleteJobCommandOutput } from "../commands/DeleteJobCommand";
|
|
7
|
+
import { DeleteLaunchConfigurationTemplateCommandInput, DeleteLaunchConfigurationTemplateCommandOutput } from "../commands/DeleteLaunchConfigurationTemplateCommand";
|
|
6
8
|
import { DeleteRecoveryInstanceCommandInput, DeleteRecoveryInstanceCommandOutput } from "../commands/DeleteRecoveryInstanceCommand";
|
|
7
9
|
import { DeleteReplicationConfigurationTemplateCommandInput, DeleteReplicationConfigurationTemplateCommandOutput } from "../commands/DeleteReplicationConfigurationTemplateCommand";
|
|
8
10
|
import { DeleteSourceServerCommandInput, DeleteSourceServerCommandOutput } from "../commands/DeleteSourceServerCommand";
|
|
9
11
|
import { DescribeJobLogItemsCommandInput, DescribeJobLogItemsCommandOutput } from "../commands/DescribeJobLogItemsCommand";
|
|
10
12
|
import { DescribeJobsCommandInput, DescribeJobsCommandOutput } from "../commands/DescribeJobsCommand";
|
|
13
|
+
import { DescribeLaunchConfigurationTemplatesCommandInput, DescribeLaunchConfigurationTemplatesCommandOutput } from "../commands/DescribeLaunchConfigurationTemplatesCommand";
|
|
11
14
|
import { DescribeRecoveryInstancesCommandInput, DescribeRecoveryInstancesCommandOutput } from "../commands/DescribeRecoveryInstancesCommand";
|
|
12
15
|
import { DescribeRecoverySnapshotsCommandInput, DescribeRecoverySnapshotsCommandOutput } from "../commands/DescribeRecoverySnapshotsCommand";
|
|
13
16
|
import { DescribeReplicationConfigurationTemplatesCommandInput, DescribeReplicationConfigurationTemplatesCommandOutput } from "../commands/DescribeReplicationConfigurationTemplatesCommand";
|
|
@@ -33,12 +36,17 @@ import { TerminateRecoveryInstancesCommandInput, TerminateRecoveryInstancesComma
|
|
|
33
36
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
34
37
|
import { UpdateFailbackReplicationConfigurationCommandInput, UpdateFailbackReplicationConfigurationCommandOutput } from "../commands/UpdateFailbackReplicationConfigurationCommand";
|
|
35
38
|
import { UpdateLaunchConfigurationCommandInput, UpdateLaunchConfigurationCommandOutput } from "../commands/UpdateLaunchConfigurationCommand";
|
|
39
|
+
import { UpdateLaunchConfigurationTemplateCommandInput, UpdateLaunchConfigurationTemplateCommandOutput } from "../commands/UpdateLaunchConfigurationTemplateCommand";
|
|
36
40
|
import { UpdateReplicationConfigurationCommandInput, UpdateReplicationConfigurationCommandOutput } from "../commands/UpdateReplicationConfigurationCommand";
|
|
37
41
|
import { UpdateReplicationConfigurationTemplateCommandInput, UpdateReplicationConfigurationTemplateCommandOutput } from "../commands/UpdateReplicationConfigurationTemplateCommand";
|
|
38
42
|
/**
|
|
39
43
|
* serializeAws_restJson1CreateExtendedSourceServerCommand
|
|
40
44
|
*/
|
|
41
45
|
export declare const se_CreateExtendedSourceServerCommand: (input: CreateExtendedSourceServerCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
46
|
+
/**
|
|
47
|
+
* serializeAws_restJson1CreateLaunchConfigurationTemplateCommand
|
|
48
|
+
*/
|
|
49
|
+
export declare const se_CreateLaunchConfigurationTemplateCommand: (input: CreateLaunchConfigurationTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
42
50
|
/**
|
|
43
51
|
* serializeAws_restJson1CreateReplicationConfigurationTemplateCommand
|
|
44
52
|
*/
|
|
@@ -47,6 +55,10 @@ export declare const se_CreateReplicationConfigurationTemplateCommand: (input: C
|
|
|
47
55
|
* serializeAws_restJson1DeleteJobCommand
|
|
48
56
|
*/
|
|
49
57
|
export declare const se_DeleteJobCommand: (input: DeleteJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
58
|
+
/**
|
|
59
|
+
* serializeAws_restJson1DeleteLaunchConfigurationTemplateCommand
|
|
60
|
+
*/
|
|
61
|
+
export declare const se_DeleteLaunchConfigurationTemplateCommand: (input: DeleteLaunchConfigurationTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
50
62
|
/**
|
|
51
63
|
* serializeAws_restJson1DeleteRecoveryInstanceCommand
|
|
52
64
|
*/
|
|
@@ -67,6 +79,10 @@ export declare const se_DescribeJobLogItemsCommand: (input: DescribeJobLogItemsC
|
|
|
67
79
|
* serializeAws_restJson1DescribeJobsCommand
|
|
68
80
|
*/
|
|
69
81
|
export declare const se_DescribeJobsCommand: (input: DescribeJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
82
|
+
/**
|
|
83
|
+
* serializeAws_restJson1DescribeLaunchConfigurationTemplatesCommand
|
|
84
|
+
*/
|
|
85
|
+
export declare const se_DescribeLaunchConfigurationTemplatesCommand: (input: DescribeLaunchConfigurationTemplatesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
70
86
|
/**
|
|
71
87
|
* serializeAws_restJson1DescribeRecoveryInstancesCommand
|
|
72
88
|
*/
|
|
@@ -167,6 +183,10 @@ export declare const se_UpdateFailbackReplicationConfigurationCommand: (input: U
|
|
|
167
183
|
* serializeAws_restJson1UpdateLaunchConfigurationCommand
|
|
168
184
|
*/
|
|
169
185
|
export declare const se_UpdateLaunchConfigurationCommand: (input: UpdateLaunchConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
186
|
+
/**
|
|
187
|
+
* serializeAws_restJson1UpdateLaunchConfigurationTemplateCommand
|
|
188
|
+
*/
|
|
189
|
+
export declare const se_UpdateLaunchConfigurationTemplateCommand: (input: UpdateLaunchConfigurationTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
170
190
|
/**
|
|
171
191
|
* serializeAws_restJson1UpdateReplicationConfigurationCommand
|
|
172
192
|
*/
|
|
@@ -179,6 +199,10 @@ export declare const se_UpdateReplicationConfigurationTemplateCommand: (input: U
|
|
|
179
199
|
* deserializeAws_restJson1CreateExtendedSourceServerCommand
|
|
180
200
|
*/
|
|
181
201
|
export declare const de_CreateExtendedSourceServerCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateExtendedSourceServerCommandOutput>;
|
|
202
|
+
/**
|
|
203
|
+
* deserializeAws_restJson1CreateLaunchConfigurationTemplateCommand
|
|
204
|
+
*/
|
|
205
|
+
export declare const de_CreateLaunchConfigurationTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateLaunchConfigurationTemplateCommandOutput>;
|
|
182
206
|
/**
|
|
183
207
|
* deserializeAws_restJson1CreateReplicationConfigurationTemplateCommand
|
|
184
208
|
*/
|
|
@@ -187,6 +211,10 @@ export declare const de_CreateReplicationConfigurationTemplateCommand: (output:
|
|
|
187
211
|
* deserializeAws_restJson1DeleteJobCommand
|
|
188
212
|
*/
|
|
189
213
|
export declare const de_DeleteJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteJobCommandOutput>;
|
|
214
|
+
/**
|
|
215
|
+
* deserializeAws_restJson1DeleteLaunchConfigurationTemplateCommand
|
|
216
|
+
*/
|
|
217
|
+
export declare const de_DeleteLaunchConfigurationTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteLaunchConfigurationTemplateCommandOutput>;
|
|
190
218
|
/**
|
|
191
219
|
* deserializeAws_restJson1DeleteRecoveryInstanceCommand
|
|
192
220
|
*/
|
|
@@ -207,6 +235,10 @@ export declare const de_DescribeJobLogItemsCommand: (output: __HttpResponse, con
|
|
|
207
235
|
* deserializeAws_restJson1DescribeJobsCommand
|
|
208
236
|
*/
|
|
209
237
|
export declare const de_DescribeJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeJobsCommandOutput>;
|
|
238
|
+
/**
|
|
239
|
+
* deserializeAws_restJson1DescribeLaunchConfigurationTemplatesCommand
|
|
240
|
+
*/
|
|
241
|
+
export declare const de_DescribeLaunchConfigurationTemplatesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeLaunchConfigurationTemplatesCommandOutput>;
|
|
210
242
|
/**
|
|
211
243
|
* deserializeAws_restJson1DescribeRecoveryInstancesCommand
|
|
212
244
|
*/
|
|
@@ -307,6 +339,10 @@ export declare const de_UpdateFailbackReplicationConfigurationCommand: (output:
|
|
|
307
339
|
* deserializeAws_restJson1UpdateLaunchConfigurationCommand
|
|
308
340
|
*/
|
|
309
341
|
export declare const de_UpdateLaunchConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateLaunchConfigurationCommandOutput>;
|
|
342
|
+
/**
|
|
343
|
+
* deserializeAws_restJson1UpdateLaunchConfigurationTemplateCommand
|
|
344
|
+
*/
|
|
345
|
+
export declare const de_UpdateLaunchConfigurationTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateLaunchConfigurationTemplateCommandOutput>;
|
|
310
346
|
/**
|
|
311
347
|
* deserializeAws_restJson1UpdateReplicationConfigurationCommand
|
|
312
348
|
*/
|