@aws-sdk/client-drs 3.350.0 → 3.352.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 +71 -7
- package/dist-cjs/Drs.js +16 -0
- package/dist-cjs/commands/AssociateSourceNetworkStackCommand.js +47 -0
- package/dist-cjs/commands/CreateSourceNetworkCommand.js +47 -0
- package/dist-cjs/commands/DeleteSourceNetworkCommand.js +46 -0
- package/dist-cjs/commands/DescribeSourceNetworksCommand.js +47 -0
- package/dist-cjs/commands/ExportSourceNetworkCfnTemplateCommand.js +46 -0
- package/dist-cjs/commands/StartSourceNetworkRecoveryCommand.js +47 -0
- package/dist-cjs/commands/StartSourceNetworkReplicationCommand.js +47 -0
- package/dist-cjs/commands/StopSourceNetworkReplicationCommand.js +47 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/models/models_0.js +197 -96
- package/dist-cjs/pagination/DescribeSourceNetworksPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +595 -2
- package/dist-es/Drs.js +16 -0
- package/dist-es/commands/AssociateSourceNetworkStackCommand.js +43 -0
- package/dist-es/commands/CreateSourceNetworkCommand.js +43 -0
- package/dist-es/commands/DeleteSourceNetworkCommand.js +42 -0
- package/dist-es/commands/DescribeSourceNetworksCommand.js +43 -0
- package/dist-es/commands/ExportSourceNetworkCfnTemplateCommand.js +42 -0
- package/dist-es/commands/StartSourceNetworkRecoveryCommand.js +43 -0
- package/dist-es/commands/StartSourceNetworkReplicationCommand.js +43 -0
- package/dist-es/commands/StopSourceNetworkReplicationCommand.js +43 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/models_0.js +184 -93
- package/dist-es/pagination/DescribeSourceNetworksPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +578 -1
- package/dist-types/Drs.d.ts +56 -0
- package/dist-types/DrsClient.d.ts +10 -2
- package/dist-types/commands/AssociateSourceNetworkStackCommand.d.ts +121 -0
- package/dist-types/commands/CreateExtendedSourceServerCommand.d.ts +1 -0
- package/dist-types/commands/CreateLaunchConfigurationTemplateCommand.d.ts +2 -0
- package/dist-types/commands/CreateSourceNetworkCommand.d.ts +99 -0
- package/dist-types/commands/DeleteSourceNetworkCommand.d.ts +86 -0
- package/dist-types/commands/DescribeJobLogItemsCommand.d.ts +8 -0
- package/dist-types/commands/DescribeJobsCommand.d.ts +8 -0
- package/dist-types/commands/DescribeLaunchConfigurationTemplatesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeSourceNetworksCommand.d.ts +114 -0
- package/dist-types/commands/DescribeSourceServersCommand.d.ts +1 -0
- package/dist-types/commands/DisconnectSourceServerCommand.d.ts +1 -0
- package/dist-types/commands/ExportSourceNetworkCfnTemplateCommand.d.ts +91 -0
- package/dist-types/commands/RetryDataReplicationCommand.d.ts +1 -0
- package/dist-types/commands/StartFailbackLaunchCommand.d.ts +8 -0
- package/dist-types/commands/StartRecoveryCommand.d.ts +8 -0
- package/dist-types/commands/StartReplicationCommand.d.ts +1 -0
- package/dist-types/commands/StartSourceNetworkRecoveryCommand.d.ts +126 -0
- package/dist-types/commands/StartSourceNetworkReplicationCommand.d.ts +106 -0
- package/dist-types/commands/StopReplicationCommand.d.ts +1 -0
- package/dist-types/commands/StopSourceNetworkReplicationCommand.d.ts +109 -0
- package/dist-types/commands/TerminateRecoveryInstancesCommand.d.ts +8 -0
- package/dist-types/commands/UpdateLaunchConfigurationTemplateCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +802 -325
- package/dist-types/pagination/DescribeSourceNetworksPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
- package/dist-types/ts3.4/Drs.d.ts +136 -0
- package/dist-types/ts3.4/DrsClient.d.ts +48 -0
- package/dist-types/ts3.4/commands/AssociateSourceNetworkStackCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateSourceNetworkCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteSourceNetworkCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeSourceNetworksCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ExportSourceNetworkCfnTemplateCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartSourceNetworkRecoveryCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartSourceNetworkReplicationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StopSourceNetworkReplicationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +313 -116
- package/dist-types/ts3.4/pagination/DescribeSourceNetworksPaginator.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 +96 -0
- package/package.json +5 -5
package/dist-types/Drs.d.ts
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import { AssociateSourceNetworkStackCommandInput, AssociateSourceNetworkStackCommandOutput } from "./commands/AssociateSourceNetworkStackCommand";
|
|
2
3
|
import { CreateExtendedSourceServerCommandInput, CreateExtendedSourceServerCommandOutput } from "./commands/CreateExtendedSourceServerCommand";
|
|
3
4
|
import { CreateLaunchConfigurationTemplateCommandInput, CreateLaunchConfigurationTemplateCommandOutput } from "./commands/CreateLaunchConfigurationTemplateCommand";
|
|
4
5
|
import { CreateReplicationConfigurationTemplateCommandInput, CreateReplicationConfigurationTemplateCommandOutput } from "./commands/CreateReplicationConfigurationTemplateCommand";
|
|
6
|
+
import { CreateSourceNetworkCommandInput, CreateSourceNetworkCommandOutput } from "./commands/CreateSourceNetworkCommand";
|
|
5
7
|
import { DeleteJobCommandInput, DeleteJobCommandOutput } from "./commands/DeleteJobCommand";
|
|
6
8
|
import { DeleteLaunchConfigurationTemplateCommandInput, DeleteLaunchConfigurationTemplateCommandOutput } from "./commands/DeleteLaunchConfigurationTemplateCommand";
|
|
7
9
|
import { DeleteRecoveryInstanceCommandInput, DeleteRecoveryInstanceCommandOutput } from "./commands/DeleteRecoveryInstanceCommand";
|
|
8
10
|
import { DeleteReplicationConfigurationTemplateCommandInput, DeleteReplicationConfigurationTemplateCommandOutput } from "./commands/DeleteReplicationConfigurationTemplateCommand";
|
|
11
|
+
import { DeleteSourceNetworkCommandInput, DeleteSourceNetworkCommandOutput } from "./commands/DeleteSourceNetworkCommand";
|
|
9
12
|
import { DeleteSourceServerCommandInput, DeleteSourceServerCommandOutput } from "./commands/DeleteSourceServerCommand";
|
|
10
13
|
import { DescribeJobLogItemsCommandInput, DescribeJobLogItemsCommandOutput } from "./commands/DescribeJobLogItemsCommand";
|
|
11
14
|
import { DescribeJobsCommandInput, DescribeJobsCommandOutput } from "./commands/DescribeJobsCommand";
|
|
@@ -13,9 +16,11 @@ import { DescribeLaunchConfigurationTemplatesCommandInput, DescribeLaunchConfigu
|
|
|
13
16
|
import { DescribeRecoveryInstancesCommandInput, DescribeRecoveryInstancesCommandOutput } from "./commands/DescribeRecoveryInstancesCommand";
|
|
14
17
|
import { DescribeRecoverySnapshotsCommandInput, DescribeRecoverySnapshotsCommandOutput } from "./commands/DescribeRecoverySnapshotsCommand";
|
|
15
18
|
import { DescribeReplicationConfigurationTemplatesCommandInput, DescribeReplicationConfigurationTemplatesCommandOutput } from "./commands/DescribeReplicationConfigurationTemplatesCommand";
|
|
19
|
+
import { DescribeSourceNetworksCommandInput, DescribeSourceNetworksCommandOutput } from "./commands/DescribeSourceNetworksCommand";
|
|
16
20
|
import { DescribeSourceServersCommandInput, DescribeSourceServersCommandOutput } from "./commands/DescribeSourceServersCommand";
|
|
17
21
|
import { DisconnectRecoveryInstanceCommandInput, DisconnectRecoveryInstanceCommandOutput } from "./commands/DisconnectRecoveryInstanceCommand";
|
|
18
22
|
import { DisconnectSourceServerCommandInput, DisconnectSourceServerCommandOutput } from "./commands/DisconnectSourceServerCommand";
|
|
23
|
+
import { ExportSourceNetworkCfnTemplateCommandInput, ExportSourceNetworkCfnTemplateCommandOutput } from "./commands/ExportSourceNetworkCfnTemplateCommand";
|
|
19
24
|
import { GetFailbackReplicationConfigurationCommandInput, GetFailbackReplicationConfigurationCommandOutput } from "./commands/GetFailbackReplicationConfigurationCommand";
|
|
20
25
|
import { GetLaunchConfigurationCommandInput, GetLaunchConfigurationCommandOutput } from "./commands/GetLaunchConfigurationCommand";
|
|
21
26
|
import { GetReplicationConfigurationCommandInput, GetReplicationConfigurationCommandOutput } from "./commands/GetReplicationConfigurationCommand";
|
|
@@ -28,8 +33,11 @@ import { ReverseReplicationCommandInput, ReverseReplicationCommandOutput } from
|
|
|
28
33
|
import { StartFailbackLaunchCommandInput, StartFailbackLaunchCommandOutput } from "./commands/StartFailbackLaunchCommand";
|
|
29
34
|
import { StartRecoveryCommandInput, StartRecoveryCommandOutput } from "./commands/StartRecoveryCommand";
|
|
30
35
|
import { StartReplicationCommandInput, StartReplicationCommandOutput } from "./commands/StartReplicationCommand";
|
|
36
|
+
import { StartSourceNetworkRecoveryCommandInput, StartSourceNetworkRecoveryCommandOutput } from "./commands/StartSourceNetworkRecoveryCommand";
|
|
37
|
+
import { StartSourceNetworkReplicationCommandInput, StartSourceNetworkReplicationCommandOutput } from "./commands/StartSourceNetworkReplicationCommand";
|
|
31
38
|
import { StopFailbackCommandInput, StopFailbackCommandOutput } from "./commands/StopFailbackCommand";
|
|
32
39
|
import { StopReplicationCommandInput, StopReplicationCommandOutput } from "./commands/StopReplicationCommand";
|
|
40
|
+
import { StopSourceNetworkReplicationCommandInput, StopSourceNetworkReplicationCommandOutput } from "./commands/StopSourceNetworkReplicationCommand";
|
|
33
41
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
34
42
|
import { TerminateRecoveryInstancesCommandInput, TerminateRecoveryInstancesCommandOutput } from "./commands/TerminateRecoveryInstancesCommand";
|
|
35
43
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
@@ -40,6 +48,12 @@ import { UpdateReplicationConfigurationCommandInput, UpdateReplicationConfigurat
|
|
|
40
48
|
import { UpdateReplicationConfigurationTemplateCommandInput, UpdateReplicationConfigurationTemplateCommandOutput } from "./commands/UpdateReplicationConfigurationTemplateCommand";
|
|
41
49
|
import { DrsClient } from "./DrsClient";
|
|
42
50
|
export interface Drs {
|
|
51
|
+
/**
|
|
52
|
+
* @see {@link AssociateSourceNetworkStackCommand}
|
|
53
|
+
*/
|
|
54
|
+
associateSourceNetworkStack(args: AssociateSourceNetworkStackCommandInput, options?: __HttpHandlerOptions): Promise<AssociateSourceNetworkStackCommandOutput>;
|
|
55
|
+
associateSourceNetworkStack(args: AssociateSourceNetworkStackCommandInput, cb: (err: any, data?: AssociateSourceNetworkStackCommandOutput) => void): void;
|
|
56
|
+
associateSourceNetworkStack(args: AssociateSourceNetworkStackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateSourceNetworkStackCommandOutput) => void): void;
|
|
43
57
|
/**
|
|
44
58
|
* @see {@link CreateExtendedSourceServerCommand}
|
|
45
59
|
*/
|
|
@@ -58,6 +72,12 @@ export interface Drs {
|
|
|
58
72
|
createReplicationConfigurationTemplate(args: CreateReplicationConfigurationTemplateCommandInput, options?: __HttpHandlerOptions): Promise<CreateReplicationConfigurationTemplateCommandOutput>;
|
|
59
73
|
createReplicationConfigurationTemplate(args: CreateReplicationConfigurationTemplateCommandInput, cb: (err: any, data?: CreateReplicationConfigurationTemplateCommandOutput) => void): void;
|
|
60
74
|
createReplicationConfigurationTemplate(args: CreateReplicationConfigurationTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateReplicationConfigurationTemplateCommandOutput) => void): void;
|
|
75
|
+
/**
|
|
76
|
+
* @see {@link CreateSourceNetworkCommand}
|
|
77
|
+
*/
|
|
78
|
+
createSourceNetwork(args: CreateSourceNetworkCommandInput, options?: __HttpHandlerOptions): Promise<CreateSourceNetworkCommandOutput>;
|
|
79
|
+
createSourceNetwork(args: CreateSourceNetworkCommandInput, cb: (err: any, data?: CreateSourceNetworkCommandOutput) => void): void;
|
|
80
|
+
createSourceNetwork(args: CreateSourceNetworkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSourceNetworkCommandOutput) => void): void;
|
|
61
81
|
/**
|
|
62
82
|
* @see {@link DeleteJobCommand}
|
|
63
83
|
*/
|
|
@@ -82,6 +102,12 @@ export interface Drs {
|
|
|
82
102
|
deleteReplicationConfigurationTemplate(args: DeleteReplicationConfigurationTemplateCommandInput, options?: __HttpHandlerOptions): Promise<DeleteReplicationConfigurationTemplateCommandOutput>;
|
|
83
103
|
deleteReplicationConfigurationTemplate(args: DeleteReplicationConfigurationTemplateCommandInput, cb: (err: any, data?: DeleteReplicationConfigurationTemplateCommandOutput) => void): void;
|
|
84
104
|
deleteReplicationConfigurationTemplate(args: DeleteReplicationConfigurationTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteReplicationConfigurationTemplateCommandOutput) => void): void;
|
|
105
|
+
/**
|
|
106
|
+
* @see {@link DeleteSourceNetworkCommand}
|
|
107
|
+
*/
|
|
108
|
+
deleteSourceNetwork(args: DeleteSourceNetworkCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSourceNetworkCommandOutput>;
|
|
109
|
+
deleteSourceNetwork(args: DeleteSourceNetworkCommandInput, cb: (err: any, data?: DeleteSourceNetworkCommandOutput) => void): void;
|
|
110
|
+
deleteSourceNetwork(args: DeleteSourceNetworkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSourceNetworkCommandOutput) => void): void;
|
|
85
111
|
/**
|
|
86
112
|
* @see {@link DeleteSourceServerCommand}
|
|
87
113
|
*/
|
|
@@ -124,6 +150,12 @@ export interface Drs {
|
|
|
124
150
|
describeReplicationConfigurationTemplates(args: DescribeReplicationConfigurationTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeReplicationConfigurationTemplatesCommandOutput>;
|
|
125
151
|
describeReplicationConfigurationTemplates(args: DescribeReplicationConfigurationTemplatesCommandInput, cb: (err: any, data?: DescribeReplicationConfigurationTemplatesCommandOutput) => void): void;
|
|
126
152
|
describeReplicationConfigurationTemplates(args: DescribeReplicationConfigurationTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeReplicationConfigurationTemplatesCommandOutput) => void): void;
|
|
153
|
+
/**
|
|
154
|
+
* @see {@link DescribeSourceNetworksCommand}
|
|
155
|
+
*/
|
|
156
|
+
describeSourceNetworks(args: DescribeSourceNetworksCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSourceNetworksCommandOutput>;
|
|
157
|
+
describeSourceNetworks(args: DescribeSourceNetworksCommandInput, cb: (err: any, data?: DescribeSourceNetworksCommandOutput) => void): void;
|
|
158
|
+
describeSourceNetworks(args: DescribeSourceNetworksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSourceNetworksCommandOutput) => void): void;
|
|
127
159
|
/**
|
|
128
160
|
* @see {@link DescribeSourceServersCommand}
|
|
129
161
|
*/
|
|
@@ -142,6 +174,12 @@ export interface Drs {
|
|
|
142
174
|
disconnectSourceServer(args: DisconnectSourceServerCommandInput, options?: __HttpHandlerOptions): Promise<DisconnectSourceServerCommandOutput>;
|
|
143
175
|
disconnectSourceServer(args: DisconnectSourceServerCommandInput, cb: (err: any, data?: DisconnectSourceServerCommandOutput) => void): void;
|
|
144
176
|
disconnectSourceServer(args: DisconnectSourceServerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisconnectSourceServerCommandOutput) => void): void;
|
|
177
|
+
/**
|
|
178
|
+
* @see {@link ExportSourceNetworkCfnTemplateCommand}
|
|
179
|
+
*/
|
|
180
|
+
exportSourceNetworkCfnTemplate(args: ExportSourceNetworkCfnTemplateCommandInput, options?: __HttpHandlerOptions): Promise<ExportSourceNetworkCfnTemplateCommandOutput>;
|
|
181
|
+
exportSourceNetworkCfnTemplate(args: ExportSourceNetworkCfnTemplateCommandInput, cb: (err: any, data?: ExportSourceNetworkCfnTemplateCommandOutput) => void): void;
|
|
182
|
+
exportSourceNetworkCfnTemplate(args: ExportSourceNetworkCfnTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExportSourceNetworkCfnTemplateCommandOutput) => void): void;
|
|
145
183
|
/**
|
|
146
184
|
* @see {@link GetFailbackReplicationConfigurationCommand}
|
|
147
185
|
*/
|
|
@@ -214,6 +252,18 @@ export interface Drs {
|
|
|
214
252
|
startReplication(args: StartReplicationCommandInput, options?: __HttpHandlerOptions): Promise<StartReplicationCommandOutput>;
|
|
215
253
|
startReplication(args: StartReplicationCommandInput, cb: (err: any, data?: StartReplicationCommandOutput) => void): void;
|
|
216
254
|
startReplication(args: StartReplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartReplicationCommandOutput) => void): void;
|
|
255
|
+
/**
|
|
256
|
+
* @see {@link StartSourceNetworkRecoveryCommand}
|
|
257
|
+
*/
|
|
258
|
+
startSourceNetworkRecovery(args: StartSourceNetworkRecoveryCommandInput, options?: __HttpHandlerOptions): Promise<StartSourceNetworkRecoveryCommandOutput>;
|
|
259
|
+
startSourceNetworkRecovery(args: StartSourceNetworkRecoveryCommandInput, cb: (err: any, data?: StartSourceNetworkRecoveryCommandOutput) => void): void;
|
|
260
|
+
startSourceNetworkRecovery(args: StartSourceNetworkRecoveryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartSourceNetworkRecoveryCommandOutput) => void): void;
|
|
261
|
+
/**
|
|
262
|
+
* @see {@link StartSourceNetworkReplicationCommand}
|
|
263
|
+
*/
|
|
264
|
+
startSourceNetworkReplication(args: StartSourceNetworkReplicationCommandInput, options?: __HttpHandlerOptions): Promise<StartSourceNetworkReplicationCommandOutput>;
|
|
265
|
+
startSourceNetworkReplication(args: StartSourceNetworkReplicationCommandInput, cb: (err: any, data?: StartSourceNetworkReplicationCommandOutput) => void): void;
|
|
266
|
+
startSourceNetworkReplication(args: StartSourceNetworkReplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartSourceNetworkReplicationCommandOutput) => void): void;
|
|
217
267
|
/**
|
|
218
268
|
* @see {@link StopFailbackCommand}
|
|
219
269
|
*/
|
|
@@ -226,6 +276,12 @@ export interface Drs {
|
|
|
226
276
|
stopReplication(args: StopReplicationCommandInput, options?: __HttpHandlerOptions): Promise<StopReplicationCommandOutput>;
|
|
227
277
|
stopReplication(args: StopReplicationCommandInput, cb: (err: any, data?: StopReplicationCommandOutput) => void): void;
|
|
228
278
|
stopReplication(args: StopReplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopReplicationCommandOutput) => void): void;
|
|
279
|
+
/**
|
|
280
|
+
* @see {@link StopSourceNetworkReplicationCommand}
|
|
281
|
+
*/
|
|
282
|
+
stopSourceNetworkReplication(args: StopSourceNetworkReplicationCommandInput, options?: __HttpHandlerOptions): Promise<StopSourceNetworkReplicationCommandOutput>;
|
|
283
|
+
stopSourceNetworkReplication(args: StopSourceNetworkReplicationCommandInput, cb: (err: any, data?: StopSourceNetworkReplicationCommandOutput) => void): void;
|
|
284
|
+
stopSourceNetworkReplication(args: StopSourceNetworkReplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopSourceNetworkReplicationCommandOutput) => void): void;
|
|
229
285
|
/**
|
|
230
286
|
* @see {@link TagResourceCommand}
|
|
231
287
|
*/
|
|
@@ -8,13 +8,16 @@ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration
|
|
|
8
8
|
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
10
10
|
import { Decoder as __Decoder, Encoder as __Encoder, Provider as __Provider, StreamCollector as __StreamCollector } from "@smithy/types";
|
|
11
|
+
import { AssociateSourceNetworkStackCommandInput, AssociateSourceNetworkStackCommandOutput } from "./commands/AssociateSourceNetworkStackCommand";
|
|
11
12
|
import { CreateExtendedSourceServerCommandInput, CreateExtendedSourceServerCommandOutput } from "./commands/CreateExtendedSourceServerCommand";
|
|
12
13
|
import { CreateLaunchConfigurationTemplateCommandInput, CreateLaunchConfigurationTemplateCommandOutput } from "./commands/CreateLaunchConfigurationTemplateCommand";
|
|
13
14
|
import { CreateReplicationConfigurationTemplateCommandInput, CreateReplicationConfigurationTemplateCommandOutput } from "./commands/CreateReplicationConfigurationTemplateCommand";
|
|
15
|
+
import { CreateSourceNetworkCommandInput, CreateSourceNetworkCommandOutput } from "./commands/CreateSourceNetworkCommand";
|
|
14
16
|
import { DeleteJobCommandInput, DeleteJobCommandOutput } from "./commands/DeleteJobCommand";
|
|
15
17
|
import { DeleteLaunchConfigurationTemplateCommandInput, DeleteLaunchConfigurationTemplateCommandOutput } from "./commands/DeleteLaunchConfigurationTemplateCommand";
|
|
16
18
|
import { DeleteRecoveryInstanceCommandInput, DeleteRecoveryInstanceCommandOutput } from "./commands/DeleteRecoveryInstanceCommand";
|
|
17
19
|
import { DeleteReplicationConfigurationTemplateCommandInput, DeleteReplicationConfigurationTemplateCommandOutput } from "./commands/DeleteReplicationConfigurationTemplateCommand";
|
|
20
|
+
import { DeleteSourceNetworkCommandInput, DeleteSourceNetworkCommandOutput } from "./commands/DeleteSourceNetworkCommand";
|
|
18
21
|
import { DeleteSourceServerCommandInput, DeleteSourceServerCommandOutput } from "./commands/DeleteSourceServerCommand";
|
|
19
22
|
import { DescribeJobLogItemsCommandInput, DescribeJobLogItemsCommandOutput } from "./commands/DescribeJobLogItemsCommand";
|
|
20
23
|
import { DescribeJobsCommandInput, DescribeJobsCommandOutput } from "./commands/DescribeJobsCommand";
|
|
@@ -22,9 +25,11 @@ import { DescribeLaunchConfigurationTemplatesCommandInput, DescribeLaunchConfigu
|
|
|
22
25
|
import { DescribeRecoveryInstancesCommandInput, DescribeRecoveryInstancesCommandOutput } from "./commands/DescribeRecoveryInstancesCommand";
|
|
23
26
|
import { DescribeRecoverySnapshotsCommandInput, DescribeRecoverySnapshotsCommandOutput } from "./commands/DescribeRecoverySnapshotsCommand";
|
|
24
27
|
import { DescribeReplicationConfigurationTemplatesCommandInput, DescribeReplicationConfigurationTemplatesCommandOutput } from "./commands/DescribeReplicationConfigurationTemplatesCommand";
|
|
28
|
+
import { DescribeSourceNetworksCommandInput, DescribeSourceNetworksCommandOutput } from "./commands/DescribeSourceNetworksCommand";
|
|
25
29
|
import { DescribeSourceServersCommandInput, DescribeSourceServersCommandOutput } from "./commands/DescribeSourceServersCommand";
|
|
26
30
|
import { DisconnectRecoveryInstanceCommandInput, DisconnectRecoveryInstanceCommandOutput } from "./commands/DisconnectRecoveryInstanceCommand";
|
|
27
31
|
import { DisconnectSourceServerCommandInput, DisconnectSourceServerCommandOutput } from "./commands/DisconnectSourceServerCommand";
|
|
32
|
+
import { ExportSourceNetworkCfnTemplateCommandInput, ExportSourceNetworkCfnTemplateCommandOutput } from "./commands/ExportSourceNetworkCfnTemplateCommand";
|
|
28
33
|
import { GetFailbackReplicationConfigurationCommandInput, GetFailbackReplicationConfigurationCommandOutput } from "./commands/GetFailbackReplicationConfigurationCommand";
|
|
29
34
|
import { GetLaunchConfigurationCommandInput, GetLaunchConfigurationCommandOutput } from "./commands/GetLaunchConfigurationCommand";
|
|
30
35
|
import { GetReplicationConfigurationCommandInput, GetReplicationConfigurationCommandOutput } from "./commands/GetReplicationConfigurationCommand";
|
|
@@ -37,8 +42,11 @@ import { ReverseReplicationCommandInput, ReverseReplicationCommandOutput } from
|
|
|
37
42
|
import { StartFailbackLaunchCommandInput, StartFailbackLaunchCommandOutput } from "./commands/StartFailbackLaunchCommand";
|
|
38
43
|
import { StartRecoveryCommandInput, StartRecoveryCommandOutput } from "./commands/StartRecoveryCommand";
|
|
39
44
|
import { StartReplicationCommandInput, StartReplicationCommandOutput } from "./commands/StartReplicationCommand";
|
|
45
|
+
import { StartSourceNetworkRecoveryCommandInput, StartSourceNetworkRecoveryCommandOutput } from "./commands/StartSourceNetworkRecoveryCommand";
|
|
46
|
+
import { StartSourceNetworkReplicationCommandInput, StartSourceNetworkReplicationCommandOutput } from "./commands/StartSourceNetworkReplicationCommand";
|
|
40
47
|
import { StopFailbackCommandInput, StopFailbackCommandOutput } from "./commands/StopFailbackCommand";
|
|
41
48
|
import { StopReplicationCommandInput, StopReplicationCommandOutput } from "./commands/StopReplicationCommand";
|
|
49
|
+
import { StopSourceNetworkReplicationCommandInput, StopSourceNetworkReplicationCommandOutput } from "./commands/StopSourceNetworkReplicationCommand";
|
|
42
50
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
43
51
|
import { TerminateRecoveryInstancesCommandInput, TerminateRecoveryInstancesCommandOutput } from "./commands/TerminateRecoveryInstancesCommand";
|
|
44
52
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
@@ -52,11 +60,11 @@ export { __Client };
|
|
|
52
60
|
/**
|
|
53
61
|
* @public
|
|
54
62
|
*/
|
|
55
|
-
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;
|
|
63
|
+
export type ServiceInputTypes = AssociateSourceNetworkStackCommandInput | CreateExtendedSourceServerCommandInput | CreateLaunchConfigurationTemplateCommandInput | CreateReplicationConfigurationTemplateCommandInput | CreateSourceNetworkCommandInput | DeleteJobCommandInput | DeleteLaunchConfigurationTemplateCommandInput | DeleteRecoveryInstanceCommandInput | DeleteReplicationConfigurationTemplateCommandInput | DeleteSourceNetworkCommandInput | DeleteSourceServerCommandInput | DescribeJobLogItemsCommandInput | DescribeJobsCommandInput | DescribeLaunchConfigurationTemplatesCommandInput | DescribeRecoveryInstancesCommandInput | DescribeRecoverySnapshotsCommandInput | DescribeReplicationConfigurationTemplatesCommandInput | DescribeSourceNetworksCommandInput | DescribeSourceServersCommandInput | DisconnectRecoveryInstanceCommandInput | DisconnectSourceServerCommandInput | ExportSourceNetworkCfnTemplateCommandInput | GetFailbackReplicationConfigurationCommandInput | GetLaunchConfigurationCommandInput | GetReplicationConfigurationCommandInput | InitializeServiceCommandInput | ListExtensibleSourceServersCommandInput | ListStagingAccountsCommandInput | ListTagsForResourceCommandInput | RetryDataReplicationCommandInput | ReverseReplicationCommandInput | StartFailbackLaunchCommandInput | StartRecoveryCommandInput | StartReplicationCommandInput | StartSourceNetworkRecoveryCommandInput | StartSourceNetworkReplicationCommandInput | StopFailbackCommandInput | StopReplicationCommandInput | StopSourceNetworkReplicationCommandInput | TagResourceCommandInput | TerminateRecoveryInstancesCommandInput | UntagResourceCommandInput | UpdateFailbackReplicationConfigurationCommandInput | UpdateLaunchConfigurationCommandInput | UpdateLaunchConfigurationTemplateCommandInput | UpdateReplicationConfigurationCommandInput | UpdateReplicationConfigurationTemplateCommandInput;
|
|
56
64
|
/**
|
|
57
65
|
* @public
|
|
58
66
|
*/
|
|
59
|
-
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;
|
|
67
|
+
export type ServiceOutputTypes = AssociateSourceNetworkStackCommandOutput | CreateExtendedSourceServerCommandOutput | CreateLaunchConfigurationTemplateCommandOutput | CreateReplicationConfigurationTemplateCommandOutput | CreateSourceNetworkCommandOutput | DeleteJobCommandOutput | DeleteLaunchConfigurationTemplateCommandOutput | DeleteRecoveryInstanceCommandOutput | DeleteReplicationConfigurationTemplateCommandOutput | DeleteSourceNetworkCommandOutput | DeleteSourceServerCommandOutput | DescribeJobLogItemsCommandOutput | DescribeJobsCommandOutput | DescribeLaunchConfigurationTemplatesCommandOutput | DescribeRecoveryInstancesCommandOutput | DescribeRecoverySnapshotsCommandOutput | DescribeReplicationConfigurationTemplatesCommandOutput | DescribeSourceNetworksCommandOutput | DescribeSourceServersCommandOutput | DisconnectRecoveryInstanceCommandOutput | DisconnectSourceServerCommandOutput | ExportSourceNetworkCfnTemplateCommandOutput | GetFailbackReplicationConfigurationCommandOutput | GetLaunchConfigurationCommandOutput | GetReplicationConfigurationCommandOutput | InitializeServiceCommandOutput | ListExtensibleSourceServersCommandOutput | ListStagingAccountsCommandOutput | ListTagsForResourceCommandOutput | RetryDataReplicationCommandOutput | ReverseReplicationCommandOutput | StartFailbackLaunchCommandOutput | StartRecoveryCommandOutput | StartReplicationCommandOutput | StartSourceNetworkRecoveryCommandOutput | StartSourceNetworkReplicationCommandOutput | StopFailbackCommandOutput | StopReplicationCommandOutput | StopSourceNetworkReplicationCommandOutput | TagResourceCommandOutput | TerminateRecoveryInstancesCommandOutput | UntagResourceCommandOutput | UpdateFailbackReplicationConfigurationCommandOutput | UpdateLaunchConfigurationCommandOutput | UpdateLaunchConfigurationTemplateCommandOutput | UpdateReplicationConfigurationCommandOutput | UpdateReplicationConfigurationTemplateCommandOutput;
|
|
60
68
|
/**
|
|
61
69
|
* @public
|
|
62
70
|
*/
|
|
@@ -0,0 +1,121 @@
|
|
|
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 { AssociateSourceNetworkStackRequest, AssociateSourceNetworkStackResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link AssociateSourceNetworkStackCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface AssociateSourceNetworkStackCommandInput extends AssociateSourceNetworkStackRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link AssociateSourceNetworkStackCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface AssociateSourceNetworkStackCommandOutput extends AssociateSourceNetworkStackResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Associate a Source Network to an existing CloudFormation Stack and modify launch templates to use this network. Can be used for reverting to previously deployed CloudFormation stacks.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { DrsClient, AssociateSourceNetworkStackCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
31
|
+
* // const { DrsClient, AssociateSourceNetworkStackCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
32
|
+
* const client = new DrsClient(config);
|
|
33
|
+
* const input = { // AssociateSourceNetworkStackRequest
|
|
34
|
+
* sourceNetworkID: "STRING_VALUE", // required
|
|
35
|
+
* cfnStackName: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
37
|
+
* const command = new AssociateSourceNetworkStackCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // AssociateSourceNetworkStackResponse
|
|
40
|
+
* // job: { // Job
|
|
41
|
+
* // jobID: "STRING_VALUE", // required
|
|
42
|
+
* // arn: "STRING_VALUE",
|
|
43
|
+
* // type: "STRING_VALUE",
|
|
44
|
+
* // initiatedBy: "STRING_VALUE",
|
|
45
|
+
* // creationDateTime: "STRING_VALUE",
|
|
46
|
+
* // endDateTime: "STRING_VALUE",
|
|
47
|
+
* // status: "STRING_VALUE",
|
|
48
|
+
* // participatingServers: [ // ParticipatingServers
|
|
49
|
+
* // { // ParticipatingServer
|
|
50
|
+
* // sourceServerID: "STRING_VALUE",
|
|
51
|
+
* // recoveryInstanceID: "STRING_VALUE",
|
|
52
|
+
* // launchStatus: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // tags: { // TagsMap
|
|
56
|
+
* // "<keys>": "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // participatingResources: [ // ParticipatingResources
|
|
59
|
+
* // { // ParticipatingResource
|
|
60
|
+
* // participatingResourceID: { // ParticipatingResourceID Union: only one key present
|
|
61
|
+
* // sourceNetworkID: "STRING_VALUE",
|
|
62
|
+
* // },
|
|
63
|
+
* // launchStatus: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // ],
|
|
66
|
+
* // },
|
|
67
|
+
* // };
|
|
68
|
+
*
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* @param AssociateSourceNetworkStackCommandInput - {@link AssociateSourceNetworkStackCommandInput}
|
|
72
|
+
* @returns {@link AssociateSourceNetworkStackCommandOutput}
|
|
73
|
+
* @see {@link AssociateSourceNetworkStackCommandInput} for command's `input` shape.
|
|
74
|
+
* @see {@link AssociateSourceNetworkStackCommandOutput} for command's `response` shape.
|
|
75
|
+
* @see {@link DrsClientResolvedConfig | config} for DrsClient's `config` shape.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ConflictException} (client fault)
|
|
78
|
+
* <p>The request could not be completed due to a conflict with the current state of the target resource.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link InternalServerException} (server fault)
|
|
81
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
84
|
+
* <p>The resource for this operation was not found.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
87
|
+
* <p>The request could not be completed because its exceeded the service quota.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
90
|
+
* <p>The request was denied due to request throttling.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link UninitializedAccountException} (client fault)
|
|
93
|
+
* <p>The account performing the request has not been initialized.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ValidationException} (client fault)
|
|
96
|
+
* <p>The input fails to satisfy the constraints specified by the AWS service.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link DrsServiceException}
|
|
99
|
+
* <p>Base exception class for all service exceptions from Drs service.</p>
|
|
100
|
+
*
|
|
101
|
+
*/
|
|
102
|
+
export declare class AssociateSourceNetworkStackCommand extends $Command<AssociateSourceNetworkStackCommandInput, AssociateSourceNetworkStackCommandOutput, DrsClientResolvedConfig> {
|
|
103
|
+
readonly input: AssociateSourceNetworkStackCommandInput;
|
|
104
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
105
|
+
/**
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
constructor(input: AssociateSourceNetworkStackCommandInput);
|
|
109
|
+
/**
|
|
110
|
+
* @internal
|
|
111
|
+
*/
|
|
112
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DrsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateSourceNetworkStackCommandInput, AssociateSourceNetworkStackCommandOutput>;
|
|
113
|
+
/**
|
|
114
|
+
* @internal
|
|
115
|
+
*/
|
|
116
|
+
private serialize;
|
|
117
|
+
/**
|
|
118
|
+
* @internal
|
|
119
|
+
*/
|
|
120
|
+
private deserialize;
|
|
121
|
+
}
|
|
@@ -139,6 +139,7 @@ export interface CreateExtendedSourceServerCommandOutput extends CreateExtendedS
|
|
|
139
139
|
* // },
|
|
140
140
|
* // replicationDirection: "STRING_VALUE",
|
|
141
141
|
* // reversedDirectionSourceServerArn: "STRING_VALUE",
|
|
142
|
+
* // sourceNetworkID: "STRING_VALUE",
|
|
142
143
|
* // },
|
|
143
144
|
* // };
|
|
144
145
|
*
|
|
@@ -41,6 +41,7 @@ export interface CreateLaunchConfigurationTemplateCommandOutput extends CreateLa
|
|
|
41
41
|
* licensing: { // Licensing
|
|
42
42
|
* osByol: true || false,
|
|
43
43
|
* },
|
|
44
|
+
* exportBucketArn: "STRING_VALUE",
|
|
44
45
|
* };
|
|
45
46
|
* const command = new CreateLaunchConfigurationTemplateCommand(input);
|
|
46
47
|
* const response = await client.send(command);
|
|
@@ -58,6 +59,7 @@ export interface CreateLaunchConfigurationTemplateCommandOutput extends CreateLa
|
|
|
58
59
|
* // licensing: { // Licensing
|
|
59
60
|
* // osByol: true || false,
|
|
60
61
|
* // },
|
|
62
|
+
* // exportBucketArn: "STRING_VALUE",
|
|
61
63
|
* // },
|
|
62
64
|
* // };
|
|
63
65
|
*
|
|
@@ -0,0 +1,99 @@
|
|
|
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 { CreateSourceNetworkRequest, CreateSourceNetworkResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateSourceNetworkCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateSourceNetworkCommandInput extends CreateSourceNetworkRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateSourceNetworkCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateSourceNetworkCommandOutput extends CreateSourceNetworkResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Create a new Source Network resource for a provided VPC ID.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { DrsClient, CreateSourceNetworkCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
31
|
+
* // const { DrsClient, CreateSourceNetworkCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
32
|
+
* const client = new DrsClient(config);
|
|
33
|
+
* const input = { // CreateSourceNetworkRequest
|
|
34
|
+
* vpcID: "STRING_VALUE", // required
|
|
35
|
+
* originAccountID: "STRING_VALUE", // required
|
|
36
|
+
* originRegion: "STRING_VALUE", // required
|
|
37
|
+
* tags: { // TagsMap
|
|
38
|
+
* "<keys>": "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* };
|
|
41
|
+
* const command = new CreateSourceNetworkCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // CreateSourceNetworkResponse
|
|
44
|
+
* // sourceNetworkID: "STRING_VALUE",
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param CreateSourceNetworkCommandInput - {@link CreateSourceNetworkCommandInput}
|
|
50
|
+
* @returns {@link CreateSourceNetworkCommandOutput}
|
|
51
|
+
* @see {@link CreateSourceNetworkCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link CreateSourceNetworkCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link DrsClientResolvedConfig | config} for DrsClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ConflictException} (client fault)
|
|
56
|
+
* <p>The request could not be completed due to a conflict with the current state of the target resource.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
|
+
* <p>The resource for this operation was not found.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
65
|
+
* <p>The request could not be completed because its exceeded the service quota.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
68
|
+
* <p>The request was denied due to request throttling.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link UninitializedAccountException} (client fault)
|
|
71
|
+
* <p>The account performing the request has not been initialized.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <p>The input fails to satisfy the constraints specified by the AWS service.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link DrsServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from Drs service.</p>
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
export declare class CreateSourceNetworkCommand extends $Command<CreateSourceNetworkCommandInput, CreateSourceNetworkCommandOutput, DrsClientResolvedConfig> {
|
|
81
|
+
readonly input: CreateSourceNetworkCommandInput;
|
|
82
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
83
|
+
/**
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
constructor(input: CreateSourceNetworkCommandInput);
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DrsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateSourceNetworkCommandInput, CreateSourceNetworkCommandOutput>;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
private serialize;
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
private deserialize;
|
|
99
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
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 { DeleteSourceNetworkRequest, DeleteSourceNetworkResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteSourceNetworkCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteSourceNetworkCommandInput extends DeleteSourceNetworkRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteSourceNetworkCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteSourceNetworkCommandOutput extends DeleteSourceNetworkResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Delete Source Network resource.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { DrsClient, DeleteSourceNetworkCommand } from "@aws-sdk/client-drs"; // ES Modules import
|
|
31
|
+
* // const { DrsClient, DeleteSourceNetworkCommand } = require("@aws-sdk/client-drs"); // CommonJS import
|
|
32
|
+
* const client = new DrsClient(config);
|
|
33
|
+
* const input = { // DeleteSourceNetworkRequest
|
|
34
|
+
* sourceNetworkID: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
36
|
+
* const command = new DeleteSourceNetworkCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // {};
|
|
39
|
+
*
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* @param DeleteSourceNetworkCommandInput - {@link DeleteSourceNetworkCommandInput}
|
|
43
|
+
* @returns {@link DeleteSourceNetworkCommandOutput}
|
|
44
|
+
* @see {@link DeleteSourceNetworkCommandInput} for command's `input` shape.
|
|
45
|
+
* @see {@link DeleteSourceNetworkCommandOutput} for command's `response` shape.
|
|
46
|
+
* @see {@link DrsClientResolvedConfig | config} for DrsClient's `config` shape.
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link ConflictException} (client fault)
|
|
49
|
+
* <p>The request could not be completed due to a conflict with the current state of the target resource.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link InternalServerException} (server fault)
|
|
52
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
55
|
+
* <p>The resource for this operation was not found.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
58
|
+
* <p>The request was denied due to request throttling.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link UninitializedAccountException} (client fault)
|
|
61
|
+
* <p>The account performing the request has not been initialized.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link DrsServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from Drs service.</p>
|
|
65
|
+
*
|
|
66
|
+
*/
|
|
67
|
+
export declare class DeleteSourceNetworkCommand extends $Command<DeleteSourceNetworkCommandInput, DeleteSourceNetworkCommandOutput, DrsClientResolvedConfig> {
|
|
68
|
+
readonly input: DeleteSourceNetworkCommandInput;
|
|
69
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
constructor(input: DeleteSourceNetworkCommandInput);
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DrsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteSourceNetworkCommandInput, DeleteSourceNetworkCommandOutput>;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
private serialize;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
private deserialize;
|
|
86
|
+
}
|
|
@@ -60,6 +60,14 @@ export interface DescribeJobLogItemsCommandOutput extends DescribeJobLogItemsRes
|
|
|
60
60
|
* // "<keys>": Number("long"),
|
|
61
61
|
* // },
|
|
62
62
|
* // },
|
|
63
|
+
* // eventResourceData: { // EventResourceData Union: only one key present
|
|
64
|
+
* // sourceNetworkData: { // SourceNetworkData
|
|
65
|
+
* // sourceNetworkID: "STRING_VALUE",
|
|
66
|
+
* // sourceVpc: "STRING_VALUE",
|
|
67
|
+
* // targetVpc: "STRING_VALUE",
|
|
68
|
+
* // stackName: "STRING_VALUE",
|
|
69
|
+
* // },
|
|
70
|
+
* // },
|
|
63
71
|
* // },
|
|
64
72
|
* // },
|
|
65
73
|
* // ],
|
|
@@ -63,6 +63,14 @@ export interface DescribeJobsCommandOutput extends DescribeJobsResponse, __Metad
|
|
|
63
63
|
* // tags: { // TagsMap
|
|
64
64
|
* // "<keys>": "STRING_VALUE",
|
|
65
65
|
* // },
|
|
66
|
+
* // participatingResources: [ // ParticipatingResources
|
|
67
|
+
* // { // ParticipatingResource
|
|
68
|
+
* // participatingResourceID: { // ParticipatingResourceID Union: only one key present
|
|
69
|
+
* // sourceNetworkID: "STRING_VALUE",
|
|
70
|
+
* // },
|
|
71
|
+
* // launchStatus: "STRING_VALUE",
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
66
74
|
* // },
|
|
67
75
|
* // ],
|
|
68
76
|
* // nextToken: "STRING_VALUE",
|