@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
package/dist-types/Drs.d.ts
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
2
|
import { CreateExtendedSourceServerCommandInput, CreateExtendedSourceServerCommandOutput } from "./commands/CreateExtendedSourceServerCommand";
|
|
3
|
+
import { CreateLaunchConfigurationTemplateCommandInput, CreateLaunchConfigurationTemplateCommandOutput } from "./commands/CreateLaunchConfigurationTemplateCommand";
|
|
3
4
|
import { CreateReplicationConfigurationTemplateCommandInput, CreateReplicationConfigurationTemplateCommandOutput } from "./commands/CreateReplicationConfigurationTemplateCommand";
|
|
4
5
|
import { DeleteJobCommandInput, DeleteJobCommandOutput } from "./commands/DeleteJobCommand";
|
|
6
|
+
import { DeleteLaunchConfigurationTemplateCommandInput, DeleteLaunchConfigurationTemplateCommandOutput } from "./commands/DeleteLaunchConfigurationTemplateCommand";
|
|
5
7
|
import { DeleteRecoveryInstanceCommandInput, DeleteRecoveryInstanceCommandOutput } from "./commands/DeleteRecoveryInstanceCommand";
|
|
6
8
|
import { DeleteReplicationConfigurationTemplateCommandInput, DeleteReplicationConfigurationTemplateCommandOutput } from "./commands/DeleteReplicationConfigurationTemplateCommand";
|
|
7
9
|
import { DeleteSourceServerCommandInput, DeleteSourceServerCommandOutput } from "./commands/DeleteSourceServerCommand";
|
|
8
10
|
import { DescribeJobLogItemsCommandInput, DescribeJobLogItemsCommandOutput } from "./commands/DescribeJobLogItemsCommand";
|
|
9
11
|
import { DescribeJobsCommandInput, DescribeJobsCommandOutput } from "./commands/DescribeJobsCommand";
|
|
12
|
+
import { DescribeLaunchConfigurationTemplatesCommandInput, DescribeLaunchConfigurationTemplatesCommandOutput } from "./commands/DescribeLaunchConfigurationTemplatesCommand";
|
|
10
13
|
import { DescribeRecoveryInstancesCommandInput, DescribeRecoveryInstancesCommandOutput } from "./commands/DescribeRecoveryInstancesCommand";
|
|
11
14
|
import { DescribeRecoverySnapshotsCommandInput, DescribeRecoverySnapshotsCommandOutput } from "./commands/DescribeRecoverySnapshotsCommand";
|
|
12
15
|
import { DescribeReplicationConfigurationTemplatesCommandInput, DescribeReplicationConfigurationTemplatesCommandOutput } from "./commands/DescribeReplicationConfigurationTemplatesCommand";
|
|
@@ -32,267 +35,249 @@ import { TerminateRecoveryInstancesCommandInput, TerminateRecoveryInstancesComma
|
|
|
32
35
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
33
36
|
import { UpdateFailbackReplicationConfigurationCommandInput, UpdateFailbackReplicationConfigurationCommandOutput } from "./commands/UpdateFailbackReplicationConfigurationCommand";
|
|
34
37
|
import { UpdateLaunchConfigurationCommandInput, UpdateLaunchConfigurationCommandOutput } from "./commands/UpdateLaunchConfigurationCommand";
|
|
38
|
+
import { UpdateLaunchConfigurationTemplateCommandInput, UpdateLaunchConfigurationTemplateCommandOutput } from "./commands/UpdateLaunchConfigurationTemplateCommand";
|
|
35
39
|
import { UpdateReplicationConfigurationCommandInput, UpdateReplicationConfigurationCommandOutput } from "./commands/UpdateReplicationConfigurationCommand";
|
|
36
40
|
import { UpdateReplicationConfigurationTemplateCommandInput, UpdateReplicationConfigurationTemplateCommandOutput } from "./commands/UpdateReplicationConfigurationTemplateCommand";
|
|
37
41
|
import { DrsClient } from "./DrsClient";
|
|
38
|
-
|
|
39
|
-
* @public
|
|
40
|
-
* <p>AWS Elastic Disaster Recovery Service.</p>
|
|
41
|
-
*/
|
|
42
|
-
export declare class Drs extends DrsClient {
|
|
42
|
+
export interface Drs {
|
|
43
43
|
/**
|
|
44
|
-
* @
|
|
45
|
-
* <p>Create an extended source server in the target Account based on the source server in staging account.</p>
|
|
44
|
+
* @see {@link CreateExtendedSourceServerCommand}
|
|
46
45
|
*/
|
|
47
46
|
createExtendedSourceServer(args: CreateExtendedSourceServerCommandInput, options?: __HttpHandlerOptions): Promise<CreateExtendedSourceServerCommandOutput>;
|
|
48
47
|
createExtendedSourceServer(args: CreateExtendedSourceServerCommandInput, cb: (err: any, data?: CreateExtendedSourceServerCommandOutput) => void): void;
|
|
49
48
|
createExtendedSourceServer(args: CreateExtendedSourceServerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateExtendedSourceServerCommandOutput) => void): void;
|
|
50
49
|
/**
|
|
51
|
-
* @
|
|
52
|
-
|
|
50
|
+
* @see {@link CreateLaunchConfigurationTemplateCommand}
|
|
51
|
+
*/
|
|
52
|
+
createLaunchConfigurationTemplate(args: CreateLaunchConfigurationTemplateCommandInput, options?: __HttpHandlerOptions): Promise<CreateLaunchConfigurationTemplateCommandOutput>;
|
|
53
|
+
createLaunchConfigurationTemplate(args: CreateLaunchConfigurationTemplateCommandInput, cb: (err: any, data?: CreateLaunchConfigurationTemplateCommandOutput) => void): void;
|
|
54
|
+
createLaunchConfigurationTemplate(args: CreateLaunchConfigurationTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLaunchConfigurationTemplateCommandOutput) => void): void;
|
|
55
|
+
/**
|
|
56
|
+
* @see {@link CreateReplicationConfigurationTemplateCommand}
|
|
53
57
|
*/
|
|
54
58
|
createReplicationConfigurationTemplate(args: CreateReplicationConfigurationTemplateCommandInput, options?: __HttpHandlerOptions): Promise<CreateReplicationConfigurationTemplateCommandOutput>;
|
|
55
59
|
createReplicationConfigurationTemplate(args: CreateReplicationConfigurationTemplateCommandInput, cb: (err: any, data?: CreateReplicationConfigurationTemplateCommandOutput) => void): void;
|
|
56
60
|
createReplicationConfigurationTemplate(args: CreateReplicationConfigurationTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateReplicationConfigurationTemplateCommandOutput) => void): void;
|
|
57
61
|
/**
|
|
58
|
-
* @
|
|
59
|
-
* <p>Deletes a single Job by ID.</p>
|
|
62
|
+
* @see {@link DeleteJobCommand}
|
|
60
63
|
*/
|
|
61
64
|
deleteJob(args: DeleteJobCommandInput, options?: __HttpHandlerOptions): Promise<DeleteJobCommandOutput>;
|
|
62
65
|
deleteJob(args: DeleteJobCommandInput, cb: (err: any, data?: DeleteJobCommandOutput) => void): void;
|
|
63
66
|
deleteJob(args: DeleteJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteJobCommandOutput) => void): void;
|
|
64
67
|
/**
|
|
65
|
-
* @
|
|
66
|
-
|
|
68
|
+
* @see {@link DeleteLaunchConfigurationTemplateCommand}
|
|
69
|
+
*/
|
|
70
|
+
deleteLaunchConfigurationTemplate(args: DeleteLaunchConfigurationTemplateCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLaunchConfigurationTemplateCommandOutput>;
|
|
71
|
+
deleteLaunchConfigurationTemplate(args: DeleteLaunchConfigurationTemplateCommandInput, cb: (err: any, data?: DeleteLaunchConfigurationTemplateCommandOutput) => void): void;
|
|
72
|
+
deleteLaunchConfigurationTemplate(args: DeleteLaunchConfigurationTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLaunchConfigurationTemplateCommandOutput) => void): void;
|
|
73
|
+
/**
|
|
74
|
+
* @see {@link DeleteRecoveryInstanceCommand}
|
|
67
75
|
*/
|
|
68
76
|
deleteRecoveryInstance(args: DeleteRecoveryInstanceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRecoveryInstanceCommandOutput>;
|
|
69
77
|
deleteRecoveryInstance(args: DeleteRecoveryInstanceCommandInput, cb: (err: any, data?: DeleteRecoveryInstanceCommandOutput) => void): void;
|
|
70
78
|
deleteRecoveryInstance(args: DeleteRecoveryInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRecoveryInstanceCommandOutput) => void): void;
|
|
71
79
|
/**
|
|
72
|
-
* @
|
|
73
|
-
* <p>Deletes a single Replication Configuration Template by ID</p>
|
|
80
|
+
* @see {@link DeleteReplicationConfigurationTemplateCommand}
|
|
74
81
|
*/
|
|
75
82
|
deleteReplicationConfigurationTemplate(args: DeleteReplicationConfigurationTemplateCommandInput, options?: __HttpHandlerOptions): Promise<DeleteReplicationConfigurationTemplateCommandOutput>;
|
|
76
83
|
deleteReplicationConfigurationTemplate(args: DeleteReplicationConfigurationTemplateCommandInput, cb: (err: any, data?: DeleteReplicationConfigurationTemplateCommandOutput) => void): void;
|
|
77
84
|
deleteReplicationConfigurationTemplate(args: DeleteReplicationConfigurationTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteReplicationConfigurationTemplateCommandOutput) => void): void;
|
|
78
85
|
/**
|
|
79
|
-
* @
|
|
80
|
-
* <p>Deletes a single Source Server by ID. The Source Server must be disconnected first.</p>
|
|
86
|
+
* @see {@link DeleteSourceServerCommand}
|
|
81
87
|
*/
|
|
82
88
|
deleteSourceServer(args: DeleteSourceServerCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSourceServerCommandOutput>;
|
|
83
89
|
deleteSourceServer(args: DeleteSourceServerCommandInput, cb: (err: any, data?: DeleteSourceServerCommandOutput) => void): void;
|
|
84
90
|
deleteSourceServer(args: DeleteSourceServerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSourceServerCommandOutput) => void): void;
|
|
85
91
|
/**
|
|
86
|
-
* @
|
|
87
|
-
* <p>Retrieves a detailed Job log with pagination.</p>
|
|
92
|
+
* @see {@link DescribeJobLogItemsCommand}
|
|
88
93
|
*/
|
|
89
94
|
describeJobLogItems(args: DescribeJobLogItemsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeJobLogItemsCommandOutput>;
|
|
90
95
|
describeJobLogItems(args: DescribeJobLogItemsCommandInput, cb: (err: any, data?: DescribeJobLogItemsCommandOutput) => void): void;
|
|
91
96
|
describeJobLogItems(args: DescribeJobLogItemsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeJobLogItemsCommandOutput) => void): void;
|
|
92
97
|
/**
|
|
93
|
-
* @
|
|
94
|
-
* <p>Returns a list of Jobs. Use the JobsID and fromDate and toDate filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are created by the StartRecovery, TerminateRecoveryInstances and StartFailbackLaunch APIs. Jobs are also created by DiagnosticLaunch and TerminateDiagnosticInstances, which are APIs available only to *Support* and only used in response to relevant support tickets.</p>
|
|
98
|
+
* @see {@link DescribeJobsCommand}
|
|
95
99
|
*/
|
|
96
100
|
describeJobs(args: DescribeJobsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeJobsCommandOutput>;
|
|
97
101
|
describeJobs(args: DescribeJobsCommandInput, cb: (err: any, data?: DescribeJobsCommandOutput) => void): void;
|
|
98
102
|
describeJobs(args: DescribeJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeJobsCommandOutput) => void): void;
|
|
99
103
|
/**
|
|
100
|
-
* @
|
|
101
|
-
|
|
104
|
+
* @see {@link DescribeLaunchConfigurationTemplatesCommand}
|
|
105
|
+
*/
|
|
106
|
+
describeLaunchConfigurationTemplates(args: DescribeLaunchConfigurationTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLaunchConfigurationTemplatesCommandOutput>;
|
|
107
|
+
describeLaunchConfigurationTemplates(args: DescribeLaunchConfigurationTemplatesCommandInput, cb: (err: any, data?: DescribeLaunchConfigurationTemplatesCommandOutput) => void): void;
|
|
108
|
+
describeLaunchConfigurationTemplates(args: DescribeLaunchConfigurationTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLaunchConfigurationTemplatesCommandOutput) => void): void;
|
|
109
|
+
/**
|
|
110
|
+
* @see {@link DescribeRecoveryInstancesCommand}
|
|
102
111
|
*/
|
|
103
112
|
describeRecoveryInstances(args: DescribeRecoveryInstancesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRecoveryInstancesCommandOutput>;
|
|
104
113
|
describeRecoveryInstances(args: DescribeRecoveryInstancesCommandInput, cb: (err: any, data?: DescribeRecoveryInstancesCommandOutput) => void): void;
|
|
105
114
|
describeRecoveryInstances(args: DescribeRecoveryInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRecoveryInstancesCommandOutput) => void): void;
|
|
106
115
|
/**
|
|
107
|
-
* @
|
|
108
|
-
* <p>Lists all Recovery Snapshots for a single Source Server.</p>
|
|
116
|
+
* @see {@link DescribeRecoverySnapshotsCommand}
|
|
109
117
|
*/
|
|
110
118
|
describeRecoverySnapshots(args: DescribeRecoverySnapshotsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRecoverySnapshotsCommandOutput>;
|
|
111
119
|
describeRecoverySnapshots(args: DescribeRecoverySnapshotsCommandInput, cb: (err: any, data?: DescribeRecoverySnapshotsCommandOutput) => void): void;
|
|
112
120
|
describeRecoverySnapshots(args: DescribeRecoverySnapshotsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRecoverySnapshotsCommandOutput) => void): void;
|
|
113
121
|
/**
|
|
114
|
-
* @
|
|
115
|
-
* <p>Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.</p>
|
|
122
|
+
* @see {@link DescribeReplicationConfigurationTemplatesCommand}
|
|
116
123
|
*/
|
|
117
124
|
describeReplicationConfigurationTemplates(args: DescribeReplicationConfigurationTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeReplicationConfigurationTemplatesCommandOutput>;
|
|
118
125
|
describeReplicationConfigurationTemplates(args: DescribeReplicationConfigurationTemplatesCommandInput, cb: (err: any, data?: DescribeReplicationConfigurationTemplatesCommandOutput) => void): void;
|
|
119
126
|
describeReplicationConfigurationTemplates(args: DescribeReplicationConfigurationTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeReplicationConfigurationTemplatesCommandOutput) => void): void;
|
|
120
127
|
/**
|
|
121
|
-
* @
|
|
122
|
-
* <p>Lists all Source Servers or multiple Source Servers filtered by ID.</p>
|
|
128
|
+
* @see {@link DescribeSourceServersCommand}
|
|
123
129
|
*/
|
|
124
130
|
describeSourceServers(args: DescribeSourceServersCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSourceServersCommandOutput>;
|
|
125
131
|
describeSourceServers(args: DescribeSourceServersCommandInput, cb: (err: any, data?: DescribeSourceServersCommandOutput) => void): void;
|
|
126
132
|
describeSourceServers(args: DescribeSourceServersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSourceServersCommandOutput) => void): void;
|
|
127
133
|
/**
|
|
128
|
-
* @
|
|
129
|
-
* <p>Disconnect a Recovery Instance from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Recovery Instance will be terminated / deleted within 90 minutes. If the agent on the Recovery Instance has not been prevented from communicating with the Elastic Disaster Recovery service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the Recovery Instance will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.</p>
|
|
134
|
+
* @see {@link DisconnectRecoveryInstanceCommand}
|
|
130
135
|
*/
|
|
131
136
|
disconnectRecoveryInstance(args: DisconnectRecoveryInstanceCommandInput, options?: __HttpHandlerOptions): Promise<DisconnectRecoveryInstanceCommandOutput>;
|
|
132
137
|
disconnectRecoveryInstance(args: DisconnectRecoveryInstanceCommandInput, cb: (err: any, data?: DisconnectRecoveryInstanceCommandOutput) => void): void;
|
|
133
138
|
disconnectRecoveryInstance(args: DisconnectRecoveryInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisconnectRecoveryInstanceCommandOutput) => void): void;
|
|
134
139
|
/**
|
|
135
|
-
* @
|
|
136
|
-
* <p>Disconnects a specific Source Server from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Source Server will be terminated / deleted within 90 minutes. You cannot disconnect a Source Server if it has a Recovery Instance. If the agent on the Source Server has not been prevented from communicating with the Elastic Disaster Recovery service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.</p>
|
|
140
|
+
* @see {@link DisconnectSourceServerCommand}
|
|
137
141
|
*/
|
|
138
142
|
disconnectSourceServer(args: DisconnectSourceServerCommandInput, options?: __HttpHandlerOptions): Promise<DisconnectSourceServerCommandOutput>;
|
|
139
143
|
disconnectSourceServer(args: DisconnectSourceServerCommandInput, cb: (err: any, data?: DisconnectSourceServerCommandOutput) => void): void;
|
|
140
144
|
disconnectSourceServer(args: DisconnectSourceServerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisconnectSourceServerCommandOutput) => void): void;
|
|
141
145
|
/**
|
|
142
|
-
* @
|
|
143
|
-
* <p>Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID.</p>
|
|
146
|
+
* @see {@link GetFailbackReplicationConfigurationCommand}
|
|
144
147
|
*/
|
|
145
148
|
getFailbackReplicationConfiguration(args: GetFailbackReplicationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetFailbackReplicationConfigurationCommandOutput>;
|
|
146
149
|
getFailbackReplicationConfiguration(args: GetFailbackReplicationConfigurationCommandInput, cb: (err: any, data?: GetFailbackReplicationConfigurationCommandOutput) => void): void;
|
|
147
150
|
getFailbackReplicationConfiguration(args: GetFailbackReplicationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFailbackReplicationConfigurationCommandOutput) => void): void;
|
|
148
151
|
/**
|
|
149
|
-
* @
|
|
150
|
-
* <p>Gets a LaunchConfiguration, filtered by Source Server IDs.</p>
|
|
152
|
+
* @see {@link GetLaunchConfigurationCommand}
|
|
151
153
|
*/
|
|
152
154
|
getLaunchConfiguration(args: GetLaunchConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetLaunchConfigurationCommandOutput>;
|
|
153
155
|
getLaunchConfiguration(args: GetLaunchConfigurationCommandInput, cb: (err: any, data?: GetLaunchConfigurationCommandOutput) => void): void;
|
|
154
156
|
getLaunchConfiguration(args: GetLaunchConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLaunchConfigurationCommandOutput) => void): void;
|
|
155
157
|
/**
|
|
156
|
-
* @
|
|
157
|
-
* <p>Gets a ReplicationConfiguration, filtered by Source Server ID.</p>
|
|
158
|
+
* @see {@link GetReplicationConfigurationCommand}
|
|
158
159
|
*/
|
|
159
160
|
getReplicationConfiguration(args: GetReplicationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetReplicationConfigurationCommandOutput>;
|
|
160
161
|
getReplicationConfiguration(args: GetReplicationConfigurationCommandInput, cb: (err: any, data?: GetReplicationConfigurationCommandOutput) => void): void;
|
|
161
162
|
getReplicationConfiguration(args: GetReplicationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetReplicationConfigurationCommandOutput) => void): void;
|
|
162
163
|
/**
|
|
163
|
-
* @
|
|
164
|
-
* <p>Initialize Elastic Disaster Recovery.</p>
|
|
164
|
+
* @see {@link InitializeServiceCommand}
|
|
165
165
|
*/
|
|
166
166
|
initializeService(args: InitializeServiceCommandInput, options?: __HttpHandlerOptions): Promise<InitializeServiceCommandOutput>;
|
|
167
167
|
initializeService(args: InitializeServiceCommandInput, cb: (err: any, data?: InitializeServiceCommandOutput) => void): void;
|
|
168
168
|
initializeService(args: InitializeServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InitializeServiceCommandOutput) => void): void;
|
|
169
169
|
/**
|
|
170
|
-
* @
|
|
171
|
-
* <p>Returns a list of source servers on a staging account that are extensible, which means that:
|
|
172
|
-
* a. The source server is not already extended into this Account.
|
|
173
|
-
* b. The source server on the Account we’re reading from is not an extension of another source server.
|
|
174
|
-
* </p>
|
|
170
|
+
* @see {@link ListExtensibleSourceServersCommand}
|
|
175
171
|
*/
|
|
176
172
|
listExtensibleSourceServers(args: ListExtensibleSourceServersCommandInput, options?: __HttpHandlerOptions): Promise<ListExtensibleSourceServersCommandOutput>;
|
|
177
173
|
listExtensibleSourceServers(args: ListExtensibleSourceServersCommandInput, cb: (err: any, data?: ListExtensibleSourceServersCommandOutput) => void): void;
|
|
178
174
|
listExtensibleSourceServers(args: ListExtensibleSourceServersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListExtensibleSourceServersCommandOutput) => void): void;
|
|
179
175
|
/**
|
|
180
|
-
* @
|
|
181
|
-
* <p>Returns an array of staging accounts for existing extended source servers.</p>
|
|
176
|
+
* @see {@link ListStagingAccountsCommand}
|
|
182
177
|
*/
|
|
183
178
|
listStagingAccounts(args: ListStagingAccountsCommandInput, options?: __HttpHandlerOptions): Promise<ListStagingAccountsCommandOutput>;
|
|
184
179
|
listStagingAccounts(args: ListStagingAccountsCommandInput, cb: (err: any, data?: ListStagingAccountsCommandOutput) => void): void;
|
|
185
180
|
listStagingAccounts(args: ListStagingAccountsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListStagingAccountsCommandOutput) => void): void;
|
|
186
181
|
/**
|
|
187
|
-
* @
|
|
188
|
-
* <p>List all tags for your Elastic Disaster Recovery resources.</p>
|
|
182
|
+
* @see {@link ListTagsForResourceCommand}
|
|
189
183
|
*/
|
|
190
184
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
191
185
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
192
186
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
193
187
|
/**
|
|
194
|
-
* @
|
|
195
|
-
* @deprecated
|
|
196
|
-
*
|
|
197
|
-
* <p>WARNING: RetryDataReplication is deprecated.
|
|
198
|
-
* Causes the data replication initiation sequence to begin immediately upon next Handshake for the specified Source Server ID, regardless of when the previous initiation started. This command will work only if the Source Server is stalled or is in a DISCONNECTED or STOPPED state.
|
|
199
|
-
* </p>
|
|
188
|
+
* @see {@link RetryDataReplicationCommand}
|
|
200
189
|
*/
|
|
201
190
|
retryDataReplication(args: RetryDataReplicationCommandInput, options?: __HttpHandlerOptions): Promise<RetryDataReplicationCommandOutput>;
|
|
202
191
|
retryDataReplication(args: RetryDataReplicationCommandInput, cb: (err: any, data?: RetryDataReplicationCommandOutput) => void): void;
|
|
203
192
|
retryDataReplication(args: RetryDataReplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RetryDataReplicationCommandOutput) => void): void;
|
|
204
193
|
/**
|
|
205
|
-
* @
|
|
206
|
-
* <p>Start replication to origin / target region - applies only to protected instances that originated in EC2.
|
|
207
|
-
* For recovery instances on target region - starts replication back to origin region.
|
|
208
|
-
* For failback instances on origin region - starts replication to target region to re-protect them.
|
|
209
|
-
* </p>
|
|
194
|
+
* @see {@link ReverseReplicationCommand}
|
|
210
195
|
*/
|
|
211
196
|
reverseReplication(args: ReverseReplicationCommandInput, options?: __HttpHandlerOptions): Promise<ReverseReplicationCommandOutput>;
|
|
212
197
|
reverseReplication(args: ReverseReplicationCommandInput, cb: (err: any, data?: ReverseReplicationCommandOutput) => void): void;
|
|
213
198
|
reverseReplication(args: ReverseReplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ReverseReplicationCommandOutput) => void): void;
|
|
214
199
|
/**
|
|
215
|
-
* @
|
|
216
|
-
* <p>Initiates a Job for launching the machine that is being failed back to from the specified Recovery Instance. This will run conversion on the failback client and will reboot your machine, thus completing the failback process.</p>
|
|
200
|
+
* @see {@link StartFailbackLaunchCommand}
|
|
217
201
|
*/
|
|
218
202
|
startFailbackLaunch(args: StartFailbackLaunchCommandInput, options?: __HttpHandlerOptions): Promise<StartFailbackLaunchCommandOutput>;
|
|
219
203
|
startFailbackLaunch(args: StartFailbackLaunchCommandInput, cb: (err: any, data?: StartFailbackLaunchCommandOutput) => void): void;
|
|
220
204
|
startFailbackLaunch(args: StartFailbackLaunchCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartFailbackLaunchCommandOutput) => void): void;
|
|
221
205
|
/**
|
|
222
|
-
* @
|
|
223
|
-
* <p>Launches Recovery Instances for the specified Source Servers. For each Source Server you may choose a point in time snapshot to launch from, or use an on demand snapshot.</p>
|
|
206
|
+
* @see {@link StartRecoveryCommand}
|
|
224
207
|
*/
|
|
225
208
|
startRecovery(args: StartRecoveryCommandInput, options?: __HttpHandlerOptions): Promise<StartRecoveryCommandOutput>;
|
|
226
209
|
startRecovery(args: StartRecoveryCommandInput, cb: (err: any, data?: StartRecoveryCommandOutput) => void): void;
|
|
227
210
|
startRecovery(args: StartRecoveryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartRecoveryCommandOutput) => void): void;
|
|
228
211
|
/**
|
|
229
|
-
* @
|
|
230
|
-
* <p>Starts replication for a stopped Source Server. This action would make the Source Server protected again and restart billing for it.</p>
|
|
212
|
+
* @see {@link StartReplicationCommand}
|
|
231
213
|
*/
|
|
232
214
|
startReplication(args: StartReplicationCommandInput, options?: __HttpHandlerOptions): Promise<StartReplicationCommandOutput>;
|
|
233
215
|
startReplication(args: StartReplicationCommandInput, cb: (err: any, data?: StartReplicationCommandOutput) => void): void;
|
|
234
216
|
startReplication(args: StartReplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartReplicationCommandOutput) => void): void;
|
|
235
217
|
/**
|
|
236
|
-
* @
|
|
237
|
-
* <p>Stops the failback process for a specified Recovery Instance. This changes the Failback State of the Recovery Instance back to FAILBACK_NOT_STARTED.</p>
|
|
218
|
+
* @see {@link StopFailbackCommand}
|
|
238
219
|
*/
|
|
239
220
|
stopFailback(args: StopFailbackCommandInput, options?: __HttpHandlerOptions): Promise<StopFailbackCommandOutput>;
|
|
240
221
|
stopFailback(args: StopFailbackCommandInput, cb: (err: any, data?: StopFailbackCommandOutput) => void): void;
|
|
241
222
|
stopFailback(args: StopFailbackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopFailbackCommandOutput) => void): void;
|
|
242
223
|
/**
|
|
243
|
-
* @
|
|
244
|
-
* <p>Stops replication for a Source Server. This action would make the Source Server unprotected, delete its existing snapshots and stop billing for it.</p>
|
|
224
|
+
* @see {@link StopReplicationCommand}
|
|
245
225
|
*/
|
|
246
226
|
stopReplication(args: StopReplicationCommandInput, options?: __HttpHandlerOptions): Promise<StopReplicationCommandOutput>;
|
|
247
227
|
stopReplication(args: StopReplicationCommandInput, cb: (err: any, data?: StopReplicationCommandOutput) => void): void;
|
|
248
228
|
stopReplication(args: StopReplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopReplicationCommandOutput) => void): void;
|
|
249
229
|
/**
|
|
250
|
-
* @
|
|
251
|
-
* <p>Adds or overwrites only the specified tags for the specified Elastic Disaster Recovery resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value.</p>
|
|
230
|
+
* @see {@link TagResourceCommand}
|
|
252
231
|
*/
|
|
253
232
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
254
233
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
255
234
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
256
235
|
/**
|
|
257
|
-
* @
|
|
258
|
-
* <p>Initiates a Job for terminating the EC2 resources associated with the specified Recovery Instances, and then will delete the Recovery Instances from the Elastic Disaster Recovery service.</p>
|
|
236
|
+
* @see {@link TerminateRecoveryInstancesCommand}
|
|
259
237
|
*/
|
|
260
238
|
terminateRecoveryInstances(args: TerminateRecoveryInstancesCommandInput, options?: __HttpHandlerOptions): Promise<TerminateRecoveryInstancesCommandOutput>;
|
|
261
239
|
terminateRecoveryInstances(args: TerminateRecoveryInstancesCommandInput, cb: (err: any, data?: TerminateRecoveryInstancesCommandOutput) => void): void;
|
|
262
240
|
terminateRecoveryInstances(args: TerminateRecoveryInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TerminateRecoveryInstancesCommandOutput) => void): void;
|
|
263
241
|
/**
|
|
264
|
-
* @
|
|
265
|
-
* <p>Deletes the specified set of tags from the specified set of Elastic Disaster Recovery resources.</p>
|
|
242
|
+
* @see {@link UntagResourceCommand}
|
|
266
243
|
*/
|
|
267
244
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
268
245
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
269
246
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
270
247
|
/**
|
|
271
|
-
* @
|
|
272
|
-
* <p>Allows you to update the failback replication configuration of a Recovery Instance by ID.</p>
|
|
248
|
+
* @see {@link UpdateFailbackReplicationConfigurationCommand}
|
|
273
249
|
*/
|
|
274
250
|
updateFailbackReplicationConfiguration(args: UpdateFailbackReplicationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFailbackReplicationConfigurationCommandOutput>;
|
|
275
251
|
updateFailbackReplicationConfiguration(args: UpdateFailbackReplicationConfigurationCommandInput, cb: (err: any, data?: UpdateFailbackReplicationConfigurationCommandOutput) => void): void;
|
|
276
252
|
updateFailbackReplicationConfiguration(args: UpdateFailbackReplicationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFailbackReplicationConfigurationCommandOutput) => void): void;
|
|
277
253
|
/**
|
|
278
|
-
* @
|
|
279
|
-
* <p>Updates a LaunchConfiguration by Source Server ID.</p>
|
|
254
|
+
* @see {@link UpdateLaunchConfigurationCommand}
|
|
280
255
|
*/
|
|
281
256
|
updateLaunchConfiguration(args: UpdateLaunchConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLaunchConfigurationCommandOutput>;
|
|
282
257
|
updateLaunchConfiguration(args: UpdateLaunchConfigurationCommandInput, cb: (err: any, data?: UpdateLaunchConfigurationCommandOutput) => void): void;
|
|
283
258
|
updateLaunchConfiguration(args: UpdateLaunchConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLaunchConfigurationCommandOutput) => void): void;
|
|
284
259
|
/**
|
|
285
|
-
* @
|
|
286
|
-
|
|
260
|
+
* @see {@link UpdateLaunchConfigurationTemplateCommand}
|
|
261
|
+
*/
|
|
262
|
+
updateLaunchConfigurationTemplate(args: UpdateLaunchConfigurationTemplateCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLaunchConfigurationTemplateCommandOutput>;
|
|
263
|
+
updateLaunchConfigurationTemplate(args: UpdateLaunchConfigurationTemplateCommandInput, cb: (err: any, data?: UpdateLaunchConfigurationTemplateCommandOutput) => void): void;
|
|
264
|
+
updateLaunchConfigurationTemplate(args: UpdateLaunchConfigurationTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLaunchConfigurationTemplateCommandOutput) => void): void;
|
|
265
|
+
/**
|
|
266
|
+
* @see {@link UpdateReplicationConfigurationCommand}
|
|
287
267
|
*/
|
|
288
268
|
updateReplicationConfiguration(args: UpdateReplicationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateReplicationConfigurationCommandOutput>;
|
|
289
269
|
updateReplicationConfiguration(args: UpdateReplicationConfigurationCommandInput, cb: (err: any, data?: UpdateReplicationConfigurationCommandOutput) => void): void;
|
|
290
270
|
updateReplicationConfiguration(args: UpdateReplicationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateReplicationConfigurationCommandOutput) => void): void;
|
|
291
271
|
/**
|
|
292
|
-
* @
|
|
293
|
-
* <p>Updates a ReplicationConfigurationTemplate by ID.</p>
|
|
272
|
+
* @see {@link UpdateReplicationConfigurationTemplateCommand}
|
|
294
273
|
*/
|
|
295
274
|
updateReplicationConfigurationTemplate(args: UpdateReplicationConfigurationTemplateCommandInput, options?: __HttpHandlerOptions): Promise<UpdateReplicationConfigurationTemplateCommandOutput>;
|
|
296
275
|
updateReplicationConfigurationTemplate(args: UpdateReplicationConfigurationTemplateCommandInput, cb: (err: any, data?: UpdateReplicationConfigurationTemplateCommandOutput) => void): void;
|
|
297
276
|
updateReplicationConfigurationTemplate(args: UpdateReplicationConfigurationTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateReplicationConfigurationTemplateCommandOutput) => void): void;
|
|
298
277
|
}
|
|
278
|
+
/**
|
|
279
|
+
* @public
|
|
280
|
+
* <p>AWS Elastic Disaster Recovery Service.</p>
|
|
281
|
+
*/
|
|
282
|
+
export declare class Drs extends DrsClient implements Drs {
|
|
283
|
+
}
|
|
@@ -8,13 +8,16 @@ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
|
8
8
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
9
|
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
10
|
import { CreateExtendedSourceServerCommandInput, CreateExtendedSourceServerCommandOutput } from "./commands/CreateExtendedSourceServerCommand";
|
|
11
|
+
import { CreateLaunchConfigurationTemplateCommandInput, CreateLaunchConfigurationTemplateCommandOutput } from "./commands/CreateLaunchConfigurationTemplateCommand";
|
|
11
12
|
import { CreateReplicationConfigurationTemplateCommandInput, CreateReplicationConfigurationTemplateCommandOutput } from "./commands/CreateReplicationConfigurationTemplateCommand";
|
|
12
13
|
import { DeleteJobCommandInput, DeleteJobCommandOutput } from "./commands/DeleteJobCommand";
|
|
14
|
+
import { DeleteLaunchConfigurationTemplateCommandInput, DeleteLaunchConfigurationTemplateCommandOutput } from "./commands/DeleteLaunchConfigurationTemplateCommand";
|
|
13
15
|
import { DeleteRecoveryInstanceCommandInput, DeleteRecoveryInstanceCommandOutput } from "./commands/DeleteRecoveryInstanceCommand";
|
|
14
16
|
import { DeleteReplicationConfigurationTemplateCommandInput, DeleteReplicationConfigurationTemplateCommandOutput } from "./commands/DeleteReplicationConfigurationTemplateCommand";
|
|
15
17
|
import { DeleteSourceServerCommandInput, DeleteSourceServerCommandOutput } from "./commands/DeleteSourceServerCommand";
|
|
16
18
|
import { DescribeJobLogItemsCommandInput, DescribeJobLogItemsCommandOutput } from "./commands/DescribeJobLogItemsCommand";
|
|
17
19
|
import { DescribeJobsCommandInput, DescribeJobsCommandOutput } from "./commands/DescribeJobsCommand";
|
|
20
|
+
import { DescribeLaunchConfigurationTemplatesCommandInput, DescribeLaunchConfigurationTemplatesCommandOutput } from "./commands/DescribeLaunchConfigurationTemplatesCommand";
|
|
18
21
|
import { DescribeRecoveryInstancesCommandInput, DescribeRecoveryInstancesCommandOutput } from "./commands/DescribeRecoveryInstancesCommand";
|
|
19
22
|
import { DescribeRecoverySnapshotsCommandInput, DescribeRecoverySnapshotsCommandOutput } from "./commands/DescribeRecoverySnapshotsCommand";
|
|
20
23
|
import { DescribeReplicationConfigurationTemplatesCommandInput, DescribeReplicationConfigurationTemplatesCommandOutput } from "./commands/DescribeReplicationConfigurationTemplatesCommand";
|
|
@@ -40,17 +43,18 @@ import { TerminateRecoveryInstancesCommandInput, TerminateRecoveryInstancesComma
|
|
|
40
43
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
41
44
|
import { UpdateFailbackReplicationConfigurationCommandInput, UpdateFailbackReplicationConfigurationCommandOutput } from "./commands/UpdateFailbackReplicationConfigurationCommand";
|
|
42
45
|
import { UpdateLaunchConfigurationCommandInput, UpdateLaunchConfigurationCommandOutput } from "./commands/UpdateLaunchConfigurationCommand";
|
|
46
|
+
import { UpdateLaunchConfigurationTemplateCommandInput, UpdateLaunchConfigurationTemplateCommandOutput } from "./commands/UpdateLaunchConfigurationTemplateCommand";
|
|
43
47
|
import { UpdateReplicationConfigurationCommandInput, UpdateReplicationConfigurationCommandOutput } from "./commands/UpdateReplicationConfigurationCommand";
|
|
44
48
|
import { UpdateReplicationConfigurationTemplateCommandInput, UpdateReplicationConfigurationTemplateCommandOutput } from "./commands/UpdateReplicationConfigurationTemplateCommand";
|
|
45
49
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
46
50
|
/**
|
|
47
51
|
* @public
|
|
48
52
|
*/
|
|
49
|
-
export type ServiceInputTypes = CreateExtendedSourceServerCommandInput | CreateReplicationConfigurationTemplateCommandInput | DeleteJobCommandInput | DeleteRecoveryInstanceCommandInput | DeleteReplicationConfigurationTemplateCommandInput | DeleteSourceServerCommandInput | DescribeJobLogItemsCommandInput | DescribeJobsCommandInput | DescribeRecoveryInstancesCommandInput | DescribeRecoverySnapshotsCommandInput | DescribeReplicationConfigurationTemplatesCommandInput | DescribeSourceServersCommandInput | DisconnectRecoveryInstanceCommandInput | DisconnectSourceServerCommandInput | GetFailbackReplicationConfigurationCommandInput | GetLaunchConfigurationCommandInput | GetReplicationConfigurationCommandInput | InitializeServiceCommandInput | ListExtensibleSourceServersCommandInput | ListStagingAccountsCommandInput | ListTagsForResourceCommandInput | RetryDataReplicationCommandInput | ReverseReplicationCommandInput | StartFailbackLaunchCommandInput | StartRecoveryCommandInput | StartReplicationCommandInput | StopFailbackCommandInput | StopReplicationCommandInput | TagResourceCommandInput | TerminateRecoveryInstancesCommandInput | UntagResourceCommandInput | UpdateFailbackReplicationConfigurationCommandInput | UpdateLaunchConfigurationCommandInput | UpdateReplicationConfigurationCommandInput | UpdateReplicationConfigurationTemplateCommandInput;
|
|
53
|
+
export type ServiceInputTypes = CreateExtendedSourceServerCommandInput | CreateLaunchConfigurationTemplateCommandInput | CreateReplicationConfigurationTemplateCommandInput | DeleteJobCommandInput | DeleteLaunchConfigurationTemplateCommandInput | DeleteRecoveryInstanceCommandInput | DeleteReplicationConfigurationTemplateCommandInput | DeleteSourceServerCommandInput | DescribeJobLogItemsCommandInput | DescribeJobsCommandInput | DescribeLaunchConfigurationTemplatesCommandInput | DescribeRecoveryInstancesCommandInput | DescribeRecoverySnapshotsCommandInput | DescribeReplicationConfigurationTemplatesCommandInput | DescribeSourceServersCommandInput | DisconnectRecoveryInstanceCommandInput | DisconnectSourceServerCommandInput | GetFailbackReplicationConfigurationCommandInput | GetLaunchConfigurationCommandInput | GetReplicationConfigurationCommandInput | InitializeServiceCommandInput | ListExtensibleSourceServersCommandInput | ListStagingAccountsCommandInput | ListTagsForResourceCommandInput | RetryDataReplicationCommandInput | ReverseReplicationCommandInput | StartFailbackLaunchCommandInput | StartRecoveryCommandInput | StartReplicationCommandInput | StopFailbackCommandInput | StopReplicationCommandInput | TagResourceCommandInput | TerminateRecoveryInstancesCommandInput | UntagResourceCommandInput | UpdateFailbackReplicationConfigurationCommandInput | UpdateLaunchConfigurationCommandInput | UpdateLaunchConfigurationTemplateCommandInput | UpdateReplicationConfigurationCommandInput | UpdateReplicationConfigurationTemplateCommandInput;
|
|
50
54
|
/**
|
|
51
55
|
* @public
|
|
52
56
|
*/
|
|
53
|
-
export type ServiceOutputTypes = CreateExtendedSourceServerCommandOutput | CreateReplicationConfigurationTemplateCommandOutput | DeleteJobCommandOutput | DeleteRecoveryInstanceCommandOutput | DeleteReplicationConfigurationTemplateCommandOutput | DeleteSourceServerCommandOutput | DescribeJobLogItemsCommandOutput | DescribeJobsCommandOutput | DescribeRecoveryInstancesCommandOutput | DescribeRecoverySnapshotsCommandOutput | DescribeReplicationConfigurationTemplatesCommandOutput | DescribeSourceServersCommandOutput | DisconnectRecoveryInstanceCommandOutput | DisconnectSourceServerCommandOutput | GetFailbackReplicationConfigurationCommandOutput | GetLaunchConfigurationCommandOutput | GetReplicationConfigurationCommandOutput | InitializeServiceCommandOutput | ListExtensibleSourceServersCommandOutput | ListStagingAccountsCommandOutput | ListTagsForResourceCommandOutput | RetryDataReplicationCommandOutput | ReverseReplicationCommandOutput | StartFailbackLaunchCommandOutput | StartRecoveryCommandOutput | StartReplicationCommandOutput | StopFailbackCommandOutput | StopReplicationCommandOutput | TagResourceCommandOutput | TerminateRecoveryInstancesCommandOutput | UntagResourceCommandOutput | UpdateFailbackReplicationConfigurationCommandOutput | UpdateLaunchConfigurationCommandOutput | UpdateReplicationConfigurationCommandOutput | UpdateReplicationConfigurationTemplateCommandOutput;
|
|
57
|
+
export type ServiceOutputTypes = CreateExtendedSourceServerCommandOutput | CreateLaunchConfigurationTemplateCommandOutput | CreateReplicationConfigurationTemplateCommandOutput | DeleteJobCommandOutput | DeleteLaunchConfigurationTemplateCommandOutput | DeleteRecoveryInstanceCommandOutput | DeleteReplicationConfigurationTemplateCommandOutput | DeleteSourceServerCommandOutput | DescribeJobLogItemsCommandOutput | DescribeJobsCommandOutput | DescribeLaunchConfigurationTemplatesCommandOutput | DescribeRecoveryInstancesCommandOutput | DescribeRecoverySnapshotsCommandOutput | DescribeReplicationConfigurationTemplatesCommandOutput | DescribeSourceServersCommandOutput | DisconnectRecoveryInstanceCommandOutput | DisconnectSourceServerCommandOutput | GetFailbackReplicationConfigurationCommandOutput | GetLaunchConfigurationCommandOutput | GetReplicationConfigurationCommandOutput | InitializeServiceCommandOutput | ListExtensibleSourceServersCommandOutput | ListStagingAccountsCommandOutput | ListTagsForResourceCommandOutput | RetryDataReplicationCommandOutput | ReverseReplicationCommandOutput | StartFailbackLaunchCommandOutput | StartRecoveryCommandOutput | StartReplicationCommandOutput | StopFailbackCommandOutput | StopReplicationCommandOutput | TagResourceCommandOutput | TerminateRecoveryInstancesCommandOutput | UntagResourceCommandOutput | UpdateFailbackReplicationConfigurationCommandOutput | UpdateLaunchConfigurationCommandOutput | UpdateLaunchConfigurationTemplateCommandOutput | UpdateReplicationConfigurationCommandOutput | UpdateReplicationConfigurationTemplateCommandOutput;
|
|
54
58
|
/**
|
|
55
59
|
* @public
|
|
56
60
|
*/
|
|
@@ -0,0 +1,90 @@
|
|
|
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 { CreateLaunchConfigurationTemplateRequest, CreateLaunchConfigurationTemplateResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link CreateLaunchConfigurationTemplateCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface CreateLaunchConfigurationTemplateCommandInput extends CreateLaunchConfigurationTemplateRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link CreateLaunchConfigurationTemplateCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateLaunchConfigurationTemplateCommandOutput extends CreateLaunchConfigurationTemplateResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Creates a new Launch Configuration Template.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { DrsClient, CreateLaunchConfigurationTemplateCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
|
+
* // const { DrsClient, CreateLaunchConfigurationTemplateCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
|
+
* const client = new DrsClient(config);
|
|
29
|
+
* const input = { // CreateLaunchConfigurationTemplateRequest
|
|
30
|
+
* tags: { // TagsMap
|
|
31
|
+
* "<keys>": "STRING_VALUE",
|
|
32
|
+
* },
|
|
33
|
+
* launchDisposition: "STRING_VALUE",
|
|
34
|
+
* targetInstanceTypeRightSizingMethod: "STRING_VALUE",
|
|
35
|
+
* copyPrivateIp: true || false,
|
|
36
|
+
* copyTags: true || false,
|
|
37
|
+
* licensing: { // Licensing
|
|
38
|
+
* osByol: true || false,
|
|
39
|
+
* },
|
|
40
|
+
* };
|
|
41
|
+
* const command = new CreateLaunchConfigurationTemplateCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param CreateLaunchConfigurationTemplateCommandInput - {@link CreateLaunchConfigurationTemplateCommandInput}
|
|
46
|
+
* @returns {@link CreateLaunchConfigurationTemplateCommandOutput}
|
|
47
|
+
* @see {@link CreateLaunchConfigurationTemplateCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link CreateLaunchConfigurationTemplateCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link DrsClientResolvedConfig | config} for DrsClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
52
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link InternalServerException} (server fault)
|
|
55
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
58
|
+
* <p>The request could not be completed because its exceeded the service quota.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
61
|
+
* <p>The request was denied due to request throttling.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link UninitializedAccountException} (client fault)
|
|
64
|
+
* <p>The account performing the request has not been initialized.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ValidationException} (client fault)
|
|
67
|
+
* <p>The input fails to satisfy the constraints specified by the AWS service.</p>
|
|
68
|
+
*
|
|
69
|
+
*
|
|
70
|
+
*/
|
|
71
|
+
export declare class CreateLaunchConfigurationTemplateCommand extends $Command<CreateLaunchConfigurationTemplateCommandInput, CreateLaunchConfigurationTemplateCommandOutput, DrsClientResolvedConfig> {
|
|
72
|
+
readonly input: CreateLaunchConfigurationTemplateCommandInput;
|
|
73
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
constructor(input: CreateLaunchConfigurationTemplateCommandInput);
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DrsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateLaunchConfigurationTemplateCommandInput, CreateLaunchConfigurationTemplateCommandOutput>;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
private serialize;
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
private deserialize;
|
|
90
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
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 { DeleteLaunchConfigurationTemplateRequest, DeleteLaunchConfigurationTemplateResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link DeleteLaunchConfigurationTemplateCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface DeleteLaunchConfigurationTemplateCommandInput extends DeleteLaunchConfigurationTemplateRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link DeleteLaunchConfigurationTemplateCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface DeleteLaunchConfigurationTemplateCommandOutput extends DeleteLaunchConfigurationTemplateResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Deletes a single 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, DeleteLaunchConfigurationTemplateCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
27
|
+
* // const { DrsClient, DeleteLaunchConfigurationTemplateCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
28
|
+
* const client = new DrsClient(config);
|
|
29
|
+
* const input = { // DeleteLaunchConfigurationTemplateRequest
|
|
30
|
+
* launchConfigurationTemplateID: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
32
|
+
* const command = new DeleteLaunchConfigurationTemplateCommand(input);
|
|
33
|
+
* const response = await client.send(command);
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* @param DeleteLaunchConfigurationTemplateCommandInput - {@link DeleteLaunchConfigurationTemplateCommandInput}
|
|
37
|
+
* @returns {@link DeleteLaunchConfigurationTemplateCommandOutput}
|
|
38
|
+
* @see {@link DeleteLaunchConfigurationTemplateCommandInput} for command's `input` shape.
|
|
39
|
+
* @see {@link DeleteLaunchConfigurationTemplateCommandOutput} for command's `response` shape.
|
|
40
|
+
* @see {@link DrsClientResolvedConfig | config} for DrsClient's `config` shape.
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link ConflictException} (client fault)
|
|
43
|
+
* <p>The request could not be completed due to a conflict with the current state of the target resource.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link InternalServerException} (server fault)
|
|
46
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
49
|
+
* <p>The resource for this operation was not found.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
52
|
+
* <p>The request was denied due to request throttling.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link UninitializedAccountException} (client fault)
|
|
55
|
+
* <p>The account performing the request has not been initialized.</p>
|
|
56
|
+
*
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
export declare class DeleteLaunchConfigurationTemplateCommand extends $Command<DeleteLaunchConfigurationTemplateCommandInput, DeleteLaunchConfigurationTemplateCommandOutput, DrsClientResolvedConfig> {
|
|
60
|
+
readonly input: DeleteLaunchConfigurationTemplateCommandInput;
|
|
61
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
constructor(input: DeleteLaunchConfigurationTemplateCommandInput);
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
69
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DrsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteLaunchConfigurationTemplateCommandInput, DeleteLaunchConfigurationTemplateCommandOutput>;
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
private serialize;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
private deserialize;
|
|
78
|
+
}
|