@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.
Files changed (74) hide show
  1. package/README.md +71 -7
  2. package/dist-cjs/Drs.js +16 -0
  3. package/dist-cjs/commands/AssociateSourceNetworkStackCommand.js +47 -0
  4. package/dist-cjs/commands/CreateSourceNetworkCommand.js +47 -0
  5. package/dist-cjs/commands/DeleteSourceNetworkCommand.js +46 -0
  6. package/dist-cjs/commands/DescribeSourceNetworksCommand.js +47 -0
  7. package/dist-cjs/commands/ExportSourceNetworkCfnTemplateCommand.js +46 -0
  8. package/dist-cjs/commands/StartSourceNetworkRecoveryCommand.js +47 -0
  9. package/dist-cjs/commands/StartSourceNetworkReplicationCommand.js +47 -0
  10. package/dist-cjs/commands/StopSourceNetworkReplicationCommand.js +47 -0
  11. package/dist-cjs/commands/index.js +8 -0
  12. package/dist-cjs/models/models_0.js +197 -96
  13. package/dist-cjs/pagination/DescribeSourceNetworksPaginator.js +29 -0
  14. package/dist-cjs/pagination/index.js +1 -0
  15. package/dist-cjs/protocols/Aws_restJson1.js +595 -2
  16. package/dist-es/Drs.js +16 -0
  17. package/dist-es/commands/AssociateSourceNetworkStackCommand.js +43 -0
  18. package/dist-es/commands/CreateSourceNetworkCommand.js +43 -0
  19. package/dist-es/commands/DeleteSourceNetworkCommand.js +42 -0
  20. package/dist-es/commands/DescribeSourceNetworksCommand.js +43 -0
  21. package/dist-es/commands/ExportSourceNetworkCfnTemplateCommand.js +42 -0
  22. package/dist-es/commands/StartSourceNetworkRecoveryCommand.js +43 -0
  23. package/dist-es/commands/StartSourceNetworkReplicationCommand.js +43 -0
  24. package/dist-es/commands/StopSourceNetworkReplicationCommand.js +43 -0
  25. package/dist-es/commands/index.js +8 -0
  26. package/dist-es/models/models_0.js +184 -93
  27. package/dist-es/pagination/DescribeSourceNetworksPaginator.js +25 -0
  28. package/dist-es/pagination/index.js +1 -0
  29. package/dist-es/protocols/Aws_restJson1.js +578 -1
  30. package/dist-types/Drs.d.ts +56 -0
  31. package/dist-types/DrsClient.d.ts +10 -2
  32. package/dist-types/commands/AssociateSourceNetworkStackCommand.d.ts +121 -0
  33. package/dist-types/commands/CreateExtendedSourceServerCommand.d.ts +1 -0
  34. package/dist-types/commands/CreateLaunchConfigurationTemplateCommand.d.ts +2 -0
  35. package/dist-types/commands/CreateSourceNetworkCommand.d.ts +99 -0
  36. package/dist-types/commands/DeleteSourceNetworkCommand.d.ts +86 -0
  37. package/dist-types/commands/DescribeJobLogItemsCommand.d.ts +8 -0
  38. package/dist-types/commands/DescribeJobsCommand.d.ts +8 -0
  39. package/dist-types/commands/DescribeLaunchConfigurationTemplatesCommand.d.ts +1 -0
  40. package/dist-types/commands/DescribeSourceNetworksCommand.d.ts +114 -0
  41. package/dist-types/commands/DescribeSourceServersCommand.d.ts +1 -0
  42. package/dist-types/commands/DisconnectSourceServerCommand.d.ts +1 -0
  43. package/dist-types/commands/ExportSourceNetworkCfnTemplateCommand.d.ts +91 -0
  44. package/dist-types/commands/RetryDataReplicationCommand.d.ts +1 -0
  45. package/dist-types/commands/StartFailbackLaunchCommand.d.ts +8 -0
  46. package/dist-types/commands/StartRecoveryCommand.d.ts +8 -0
  47. package/dist-types/commands/StartReplicationCommand.d.ts +1 -0
  48. package/dist-types/commands/StartSourceNetworkRecoveryCommand.d.ts +126 -0
  49. package/dist-types/commands/StartSourceNetworkReplicationCommand.d.ts +106 -0
  50. package/dist-types/commands/StopReplicationCommand.d.ts +1 -0
  51. package/dist-types/commands/StopSourceNetworkReplicationCommand.d.ts +109 -0
  52. package/dist-types/commands/TerminateRecoveryInstancesCommand.d.ts +8 -0
  53. package/dist-types/commands/UpdateLaunchConfigurationTemplateCommand.d.ts +2 -0
  54. package/dist-types/commands/index.d.ts +8 -0
  55. package/dist-types/models/models_0.d.ts +802 -325
  56. package/dist-types/pagination/DescribeSourceNetworksPaginator.d.ts +7 -0
  57. package/dist-types/pagination/index.d.ts +1 -0
  58. package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
  59. package/dist-types/ts3.4/Drs.d.ts +136 -0
  60. package/dist-types/ts3.4/DrsClient.d.ts +48 -0
  61. package/dist-types/ts3.4/commands/AssociateSourceNetworkStackCommand.d.ts +42 -0
  62. package/dist-types/ts3.4/commands/CreateSourceNetworkCommand.d.ts +39 -0
  63. package/dist-types/ts3.4/commands/DeleteSourceNetworkCommand.d.ts +39 -0
  64. package/dist-types/ts3.4/commands/DescribeSourceNetworksCommand.d.ts +42 -0
  65. package/dist-types/ts3.4/commands/ExportSourceNetworkCfnTemplateCommand.d.ts +42 -0
  66. package/dist-types/ts3.4/commands/StartSourceNetworkRecoveryCommand.d.ts +42 -0
  67. package/dist-types/ts3.4/commands/StartSourceNetworkReplicationCommand.d.ts +42 -0
  68. package/dist-types/ts3.4/commands/StopSourceNetworkReplicationCommand.d.ts +42 -0
  69. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  70. package/dist-types/ts3.4/models/models_0.d.ts +313 -116
  71. package/dist-types/ts3.4/pagination/DescribeSourceNetworksPaginator.d.ts +11 -0
  72. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  73. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +96 -0
  74. package/package.json +5 -5
@@ -0,0 +1,114 @@
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 { DescribeSourceNetworksRequest, DescribeSourceNetworksResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeSourceNetworksCommand}.
14
+ */
15
+ export interface DescribeSourceNetworksCommandInput extends DescribeSourceNetworksRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeSourceNetworksCommand}.
21
+ */
22
+ export interface DescribeSourceNetworksCommandOutput extends DescribeSourceNetworksResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Lists all Source Networks or multiple Source Networks filtered by 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, DescribeSourceNetworksCommand } from "@aws-sdk/client-drs"; // ES Modules import
31
+ * // const { DrsClient, DescribeSourceNetworksCommand } = require("@aws-sdk/client-drs"); // CommonJS import
32
+ * const client = new DrsClient(config);
33
+ * const input = { // DescribeSourceNetworksRequest
34
+ * filters: { // DescribeSourceNetworksRequestFilters
35
+ * sourceNetworkIDs: [ // DescribeSourceNetworksRequestFiltersIDs
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * originAccountID: "STRING_VALUE",
39
+ * originRegion: "STRING_VALUE",
40
+ * },
41
+ * maxResults: Number("int"),
42
+ * nextToken: "STRING_VALUE",
43
+ * };
44
+ * const command = new DescribeSourceNetworksCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // DescribeSourceNetworksResponse
47
+ * // items: [ // SourceNetworksList
48
+ * // { // SourceNetwork
49
+ * // sourceNetworkID: "STRING_VALUE",
50
+ * // sourceVpcID: "STRING_VALUE",
51
+ * // arn: "STRING_VALUE",
52
+ * // tags: { // TagsMap
53
+ * // "<keys>": "STRING_VALUE",
54
+ * // },
55
+ * // replicationStatus: "STRING_VALUE",
56
+ * // replicationStatusDetails: "STRING_VALUE",
57
+ * // cfnStackName: "STRING_VALUE",
58
+ * // sourceRegion: "STRING_VALUE",
59
+ * // sourceAccountID: "STRING_VALUE",
60
+ * // lastRecovery: { // RecoveryLifeCycle
61
+ * // apiCallDateTime: new Date("TIMESTAMP"),
62
+ * // jobID: "STRING_VALUE",
63
+ * // lastRecoveryResult: "STRING_VALUE",
64
+ * // },
65
+ * // launchedVpcID: "STRING_VALUE",
66
+ * // },
67
+ * // ],
68
+ * // nextToken: "STRING_VALUE",
69
+ * // };
70
+ *
71
+ * ```
72
+ *
73
+ * @param DescribeSourceNetworksCommandInput - {@link DescribeSourceNetworksCommandInput}
74
+ * @returns {@link DescribeSourceNetworksCommandOutput}
75
+ * @see {@link DescribeSourceNetworksCommandInput} for command's `input` shape.
76
+ * @see {@link DescribeSourceNetworksCommandOutput} for command's `response` shape.
77
+ * @see {@link DrsClientResolvedConfig | config} for DrsClient's `config` shape.
78
+ *
79
+ * @throws {@link InternalServerException} (server fault)
80
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
81
+ *
82
+ * @throws {@link ThrottlingException} (client fault)
83
+ * <p>The request was denied due to request throttling.</p>
84
+ *
85
+ * @throws {@link UninitializedAccountException} (client fault)
86
+ * <p>The account performing the request has not been initialized.</p>
87
+ *
88
+ * @throws {@link ValidationException} (client fault)
89
+ * <p>The input fails to satisfy the constraints specified by the AWS service.</p>
90
+ *
91
+ * @throws {@link DrsServiceException}
92
+ * <p>Base exception class for all service exceptions from Drs service.</p>
93
+ *
94
+ */
95
+ export declare class DescribeSourceNetworksCommand extends $Command<DescribeSourceNetworksCommandInput, DescribeSourceNetworksCommandOutput, DrsClientResolvedConfig> {
96
+ readonly input: DescribeSourceNetworksCommandInput;
97
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
98
+ /**
99
+ * @public
100
+ */
101
+ constructor(input: DescribeSourceNetworksCommandInput);
102
+ /**
103
+ * @internal
104
+ */
105
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DrsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeSourceNetworksCommandInput, DescribeSourceNetworksCommandOutput>;
106
+ /**
107
+ * @internal
108
+ */
109
+ private serialize;
110
+ /**
111
+ * @internal
112
+ */
113
+ private deserialize;
114
+ }
@@ -147,6 +147,7 @@ export interface DescribeSourceServersCommandOutput extends DescribeSourceServer
147
147
  * // },
148
148
  * // replicationDirection: "STRING_VALUE",
149
149
  * // reversedDirectionSourceServerArn: "STRING_VALUE",
150
+ * // sourceNetworkID: "STRING_VALUE",
150
151
  * // },
151
152
  * // ],
152
153
  * // nextToken: "STRING_VALUE",
@@ -135,6 +135,7 @@ export interface DisconnectSourceServerCommandOutput extends SourceServer, __Met
135
135
  * // },
136
136
  * // replicationDirection: "STRING_VALUE",
137
137
  * // reversedDirectionSourceServerArn: "STRING_VALUE",
138
+ * // sourceNetworkID: "STRING_VALUE",
138
139
  * // };
139
140
  *
140
141
  * ```
@@ -0,0 +1,91 @@
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 { ExportSourceNetworkCfnTemplateRequest, ExportSourceNetworkCfnTemplateResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ExportSourceNetworkCfnTemplateCommand}.
14
+ */
15
+ export interface ExportSourceNetworkCfnTemplateCommandInput extends ExportSourceNetworkCfnTemplateRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ExportSourceNetworkCfnTemplateCommand}.
21
+ */
22
+ export interface ExportSourceNetworkCfnTemplateCommandOutput extends ExportSourceNetworkCfnTemplateResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Export the Source Network CloudFormation template to an S3 bucket.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { DrsClient, ExportSourceNetworkCfnTemplateCommand } from "@aws-sdk/client-drs"; // ES Modules import
31
+ * // const { DrsClient, ExportSourceNetworkCfnTemplateCommand } = require("@aws-sdk/client-drs"); // CommonJS import
32
+ * const client = new DrsClient(config);
33
+ * const input = { // ExportSourceNetworkCfnTemplateRequest
34
+ * sourceNetworkID: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new ExportSourceNetworkCfnTemplateCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // ExportSourceNetworkCfnTemplateResponse
39
+ * // s3DestinationUrl: "STRING_VALUE",
40
+ * // };
41
+ *
42
+ * ```
43
+ *
44
+ * @param ExportSourceNetworkCfnTemplateCommandInput - {@link ExportSourceNetworkCfnTemplateCommandInput}
45
+ * @returns {@link ExportSourceNetworkCfnTemplateCommandOutput}
46
+ * @see {@link ExportSourceNetworkCfnTemplateCommandInput} for command's `input` shape.
47
+ * @see {@link ExportSourceNetworkCfnTemplateCommandOutput} for command's `response` shape.
48
+ * @see {@link DrsClientResolvedConfig | config} for DrsClient's `config` shape.
49
+ *
50
+ * @throws {@link ConflictException} (client fault)
51
+ * <p>The request could not be completed due to a conflict with the current state of the target resource.</p>
52
+ *
53
+ * @throws {@link InternalServerException} (server fault)
54
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
55
+ *
56
+ * @throws {@link ResourceNotFoundException} (client fault)
57
+ * <p>The resource for this operation was not found.</p>
58
+ *
59
+ * @throws {@link ThrottlingException} (client fault)
60
+ * <p>The request was denied due to request throttling.</p>
61
+ *
62
+ * @throws {@link UninitializedAccountException} (client fault)
63
+ * <p>The account performing the request has not been initialized.</p>
64
+ *
65
+ * @throws {@link ValidationException} (client fault)
66
+ * <p>The input fails to satisfy the constraints specified by the AWS service.</p>
67
+ *
68
+ * @throws {@link DrsServiceException}
69
+ * <p>Base exception class for all service exceptions from Drs service.</p>
70
+ *
71
+ */
72
+ export declare class ExportSourceNetworkCfnTemplateCommand extends $Command<ExportSourceNetworkCfnTemplateCommandInput, ExportSourceNetworkCfnTemplateCommandOutput, DrsClientResolvedConfig> {
73
+ readonly input: ExportSourceNetworkCfnTemplateCommandInput;
74
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
75
+ /**
76
+ * @public
77
+ */
78
+ constructor(input: ExportSourceNetworkCfnTemplateCommandInput);
79
+ /**
80
+ * @internal
81
+ */
82
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DrsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ExportSourceNetworkCfnTemplateCommandInput, ExportSourceNetworkCfnTemplateCommandOutput>;
83
+ /**
84
+ * @internal
85
+ */
86
+ private serialize;
87
+ /**
88
+ * @internal
89
+ */
90
+ private deserialize;
91
+ }
@@ -139,6 +139,7 @@ export interface RetryDataReplicationCommandOutput extends SourceServer, __Metad
139
139
  * // },
140
140
  * // replicationDirection: "STRING_VALUE",
141
141
  * // reversedDirectionSourceServerArn: "STRING_VALUE",
142
+ * // sourceNetworkID: "STRING_VALUE",
142
143
  * // };
143
144
  *
144
145
  * ```
@@ -59,6 +59,14 @@ export interface StartFailbackLaunchCommandOutput extends StartFailbackLaunchRes
59
59
  * // tags: { // TagsMap
60
60
  * // "<keys>": "STRING_VALUE",
61
61
  * // },
62
+ * // participatingResources: [ // ParticipatingResources
63
+ * // { // ParticipatingResource
64
+ * // participatingResourceID: { // ParticipatingResourceID Union: only one key present
65
+ * // sourceNetworkID: "STRING_VALUE",
66
+ * // },
67
+ * // launchStatus: "STRING_VALUE",
68
+ * // },
69
+ * // ],
62
70
  * // },
63
71
  * // };
64
72
  *
@@ -63,6 +63,14 @@ export interface StartRecoveryCommandOutput extends StartRecoveryResponse, __Met
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
  *
@@ -136,6 +136,7 @@ export interface StartReplicationCommandOutput extends StartReplicationResponse,
136
136
  * // },
137
137
  * // replicationDirection: "STRING_VALUE",
138
138
  * // reversedDirectionSourceServerArn: "STRING_VALUE",
139
+ * // sourceNetworkID: "STRING_VALUE",
139
140
  * // },
140
141
  * // };
141
142
  *
@@ -0,0 +1,126 @@
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 { StartSourceNetworkRecoveryRequest, StartSourceNetworkRecoveryResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartSourceNetworkRecoveryCommand}.
14
+ */
15
+ export interface StartSourceNetworkRecoveryCommandInput extends StartSourceNetworkRecoveryRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartSourceNetworkRecoveryCommand}.
21
+ */
22
+ export interface StartSourceNetworkRecoveryCommandOutput extends StartSourceNetworkRecoveryResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Deploy VPC for the specified Source Network and modify launch templates to use this network. The VPC will be deployed using a dedicated CloudFormation stack.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { DrsClient, StartSourceNetworkRecoveryCommand } from "@aws-sdk/client-drs"; // ES Modules import
31
+ * // const { DrsClient, StartSourceNetworkRecoveryCommand } = require("@aws-sdk/client-drs"); // CommonJS import
32
+ * const client = new DrsClient(config);
33
+ * const input = { // StartSourceNetworkRecoveryRequest
34
+ * sourceNetworks: [ // StartSourceNetworkRecoveryRequestNetworkEntries // required
35
+ * { // StartSourceNetworkRecoveryRequestNetworkEntry
36
+ * sourceNetworkID: "STRING_VALUE", // required
37
+ * cfnStackName: "STRING_VALUE",
38
+ * },
39
+ * ],
40
+ * deployAsNew: true || false,
41
+ * tags: { // TagsMap
42
+ * "<keys>": "STRING_VALUE",
43
+ * },
44
+ * };
45
+ * const command = new StartSourceNetworkRecoveryCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // StartSourceNetworkRecoveryResponse
48
+ * // job: { // Job
49
+ * // jobID: "STRING_VALUE", // required
50
+ * // arn: "STRING_VALUE",
51
+ * // type: "STRING_VALUE",
52
+ * // initiatedBy: "STRING_VALUE",
53
+ * // creationDateTime: "STRING_VALUE",
54
+ * // endDateTime: "STRING_VALUE",
55
+ * // status: "STRING_VALUE",
56
+ * // participatingServers: [ // ParticipatingServers
57
+ * // { // ParticipatingServer
58
+ * // sourceServerID: "STRING_VALUE",
59
+ * // recoveryInstanceID: "STRING_VALUE",
60
+ * // launchStatus: "STRING_VALUE",
61
+ * // },
62
+ * // ],
63
+ * // tags: { // TagsMap
64
+ * // "<keys>": "STRING_VALUE",
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
+ * // ],
74
+ * // },
75
+ * // };
76
+ *
77
+ * ```
78
+ *
79
+ * @param StartSourceNetworkRecoveryCommandInput - {@link StartSourceNetworkRecoveryCommandInput}
80
+ * @returns {@link StartSourceNetworkRecoveryCommandOutput}
81
+ * @see {@link StartSourceNetworkRecoveryCommandInput} for command's `input` shape.
82
+ * @see {@link StartSourceNetworkRecoveryCommandOutput} for command's `response` shape.
83
+ * @see {@link DrsClientResolvedConfig | config} for DrsClient's `config` shape.
84
+ *
85
+ * @throws {@link ConflictException} (client fault)
86
+ * <p>The request could not be completed due to a conflict with the current state of the target resource.</p>
87
+ *
88
+ * @throws {@link InternalServerException} (server fault)
89
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
90
+ *
91
+ * @throws {@link ServiceQuotaExceededException} (client fault)
92
+ * <p>The request could not be completed because its exceeded the service quota.</p>
93
+ *
94
+ * @throws {@link ThrottlingException} (client fault)
95
+ * <p>The request was denied due to request throttling.</p>
96
+ *
97
+ * @throws {@link UninitializedAccountException} (client fault)
98
+ * <p>The account performing the request has not been initialized.</p>
99
+ *
100
+ * @throws {@link ValidationException} (client fault)
101
+ * <p>The input fails to satisfy the constraints specified by the AWS service.</p>
102
+ *
103
+ * @throws {@link DrsServiceException}
104
+ * <p>Base exception class for all service exceptions from Drs service.</p>
105
+ *
106
+ */
107
+ export declare class StartSourceNetworkRecoveryCommand extends $Command<StartSourceNetworkRecoveryCommandInput, StartSourceNetworkRecoveryCommandOutput, DrsClientResolvedConfig> {
108
+ readonly input: StartSourceNetworkRecoveryCommandInput;
109
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
110
+ /**
111
+ * @public
112
+ */
113
+ constructor(input: StartSourceNetworkRecoveryCommandInput);
114
+ /**
115
+ * @internal
116
+ */
117
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DrsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartSourceNetworkRecoveryCommandInput, StartSourceNetworkRecoveryCommandOutput>;
118
+ /**
119
+ * @internal
120
+ */
121
+ private serialize;
122
+ /**
123
+ * @internal
124
+ */
125
+ private deserialize;
126
+ }
@@ -0,0 +1,106 @@
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 { StartSourceNetworkReplicationRequest, StartSourceNetworkReplicationResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartSourceNetworkReplicationCommand}.
14
+ */
15
+ export interface StartSourceNetworkReplicationCommandInput extends StartSourceNetworkReplicationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartSourceNetworkReplicationCommand}.
21
+ */
22
+ export interface StartSourceNetworkReplicationCommandOutput extends StartSourceNetworkReplicationResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Starts replication for a Source Network. This action would make the Source Network protected.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { DrsClient, StartSourceNetworkReplicationCommand } from "@aws-sdk/client-drs"; // ES Modules import
31
+ * // const { DrsClient, StartSourceNetworkReplicationCommand } = require("@aws-sdk/client-drs"); // CommonJS import
32
+ * const client = new DrsClient(config);
33
+ * const input = { // StartSourceNetworkReplicationRequest
34
+ * sourceNetworkID: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new StartSourceNetworkReplicationCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // StartSourceNetworkReplicationResponse
39
+ * // sourceNetwork: { // SourceNetwork
40
+ * // sourceNetworkID: "STRING_VALUE",
41
+ * // sourceVpcID: "STRING_VALUE",
42
+ * // arn: "STRING_VALUE",
43
+ * // tags: { // TagsMap
44
+ * // "<keys>": "STRING_VALUE",
45
+ * // },
46
+ * // replicationStatus: "STRING_VALUE",
47
+ * // replicationStatusDetails: "STRING_VALUE",
48
+ * // cfnStackName: "STRING_VALUE",
49
+ * // sourceRegion: "STRING_VALUE",
50
+ * // sourceAccountID: "STRING_VALUE",
51
+ * // lastRecovery: { // RecoveryLifeCycle
52
+ * // apiCallDateTime: new Date("TIMESTAMP"),
53
+ * // jobID: "STRING_VALUE",
54
+ * // lastRecoveryResult: "STRING_VALUE",
55
+ * // },
56
+ * // launchedVpcID: "STRING_VALUE",
57
+ * // },
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param StartSourceNetworkReplicationCommandInput - {@link StartSourceNetworkReplicationCommandInput}
63
+ * @returns {@link StartSourceNetworkReplicationCommandOutput}
64
+ * @see {@link StartSourceNetworkReplicationCommandInput} for command's `input` shape.
65
+ * @see {@link StartSourceNetworkReplicationCommandOutput} for command's `response` shape.
66
+ * @see {@link DrsClientResolvedConfig | config} for DrsClient's `config` shape.
67
+ *
68
+ * @throws {@link ConflictException} (client fault)
69
+ * <p>The request could not be completed due to a conflict with the current state of the target resource.</p>
70
+ *
71
+ * @throws {@link InternalServerException} (server fault)
72
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
73
+ *
74
+ * @throws {@link ResourceNotFoundException} (client fault)
75
+ * <p>The resource for this operation was not found.</p>
76
+ *
77
+ * @throws {@link ThrottlingException} (client fault)
78
+ * <p>The request was denied due to request throttling.</p>
79
+ *
80
+ * @throws {@link UninitializedAccountException} (client fault)
81
+ * <p>The account performing the request has not been initialized.</p>
82
+ *
83
+ * @throws {@link DrsServiceException}
84
+ * <p>Base exception class for all service exceptions from Drs service.</p>
85
+ *
86
+ */
87
+ export declare class StartSourceNetworkReplicationCommand extends $Command<StartSourceNetworkReplicationCommandInput, StartSourceNetworkReplicationCommandOutput, DrsClientResolvedConfig> {
88
+ readonly input: StartSourceNetworkReplicationCommandInput;
89
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
90
+ /**
91
+ * @public
92
+ */
93
+ constructor(input: StartSourceNetworkReplicationCommandInput);
94
+ /**
95
+ * @internal
96
+ */
97
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DrsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartSourceNetworkReplicationCommandInput, StartSourceNetworkReplicationCommandOutput>;
98
+ /**
99
+ * @internal
100
+ */
101
+ private serialize;
102
+ /**
103
+ * @internal
104
+ */
105
+ private deserialize;
106
+ }
@@ -136,6 +136,7 @@ export interface StopReplicationCommandOutput extends StopReplicationResponse, _
136
136
  * // },
137
137
  * // replicationDirection: "STRING_VALUE",
138
138
  * // reversedDirectionSourceServerArn: "STRING_VALUE",
139
+ * // sourceNetworkID: "STRING_VALUE",
139
140
  * // },
140
141
  * // };
141
142
  *
@@ -0,0 +1,109 @@
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 { StopSourceNetworkReplicationRequest, StopSourceNetworkReplicationResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StopSourceNetworkReplicationCommand}.
14
+ */
15
+ export interface StopSourceNetworkReplicationCommandInput extends StopSourceNetworkReplicationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StopSourceNetworkReplicationCommand}.
21
+ */
22
+ export interface StopSourceNetworkReplicationCommandOutput extends StopSourceNetworkReplicationResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Stops replication for a Source Network. This action would make the Source Network unprotected.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { DrsClient, StopSourceNetworkReplicationCommand } from "@aws-sdk/client-drs"; // ES Modules import
31
+ * // const { DrsClient, StopSourceNetworkReplicationCommand } = require("@aws-sdk/client-drs"); // CommonJS import
32
+ * const client = new DrsClient(config);
33
+ * const input = { // StopSourceNetworkReplicationRequest
34
+ * sourceNetworkID: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new StopSourceNetworkReplicationCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // StopSourceNetworkReplicationResponse
39
+ * // sourceNetwork: { // SourceNetwork
40
+ * // sourceNetworkID: "STRING_VALUE",
41
+ * // sourceVpcID: "STRING_VALUE",
42
+ * // arn: "STRING_VALUE",
43
+ * // tags: { // TagsMap
44
+ * // "<keys>": "STRING_VALUE",
45
+ * // },
46
+ * // replicationStatus: "STRING_VALUE",
47
+ * // replicationStatusDetails: "STRING_VALUE",
48
+ * // cfnStackName: "STRING_VALUE",
49
+ * // sourceRegion: "STRING_VALUE",
50
+ * // sourceAccountID: "STRING_VALUE",
51
+ * // lastRecovery: { // RecoveryLifeCycle
52
+ * // apiCallDateTime: new Date("TIMESTAMP"),
53
+ * // jobID: "STRING_VALUE",
54
+ * // lastRecoveryResult: "STRING_VALUE",
55
+ * // },
56
+ * // launchedVpcID: "STRING_VALUE",
57
+ * // },
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param StopSourceNetworkReplicationCommandInput - {@link StopSourceNetworkReplicationCommandInput}
63
+ * @returns {@link StopSourceNetworkReplicationCommandOutput}
64
+ * @see {@link StopSourceNetworkReplicationCommandInput} for command's `input` shape.
65
+ * @see {@link StopSourceNetworkReplicationCommandOutput} for command's `response` shape.
66
+ * @see {@link DrsClientResolvedConfig | config} for DrsClient's `config` shape.
67
+ *
68
+ * @throws {@link ConflictException} (client fault)
69
+ * <p>The request could not be completed due to a conflict with the current state of the target resource.</p>
70
+ *
71
+ * @throws {@link InternalServerException} (server fault)
72
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
73
+ *
74
+ * @throws {@link ResourceNotFoundException} (client fault)
75
+ * <p>The resource for this operation was not found.</p>
76
+ *
77
+ * @throws {@link ThrottlingException} (client fault)
78
+ * <p>The request was denied due to request throttling.</p>
79
+ *
80
+ * @throws {@link UninitializedAccountException} (client fault)
81
+ * <p>The account performing the request has not been initialized.</p>
82
+ *
83
+ * @throws {@link ValidationException} (client fault)
84
+ * <p>The input fails to satisfy the constraints specified by the AWS service.</p>
85
+ *
86
+ * @throws {@link DrsServiceException}
87
+ * <p>Base exception class for all service exceptions from Drs service.</p>
88
+ *
89
+ */
90
+ export declare class StopSourceNetworkReplicationCommand extends $Command<StopSourceNetworkReplicationCommandInput, StopSourceNetworkReplicationCommandOutput, DrsClientResolvedConfig> {
91
+ readonly input: StopSourceNetworkReplicationCommandInput;
92
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
93
+ /**
94
+ * @public
95
+ */
96
+ constructor(input: StopSourceNetworkReplicationCommandInput);
97
+ /**
98
+ * @internal
99
+ */
100
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DrsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopSourceNetworkReplicationCommandInput, StopSourceNetworkReplicationCommandOutput>;
101
+ /**
102
+ * @internal
103
+ */
104
+ private serialize;
105
+ /**
106
+ * @internal
107
+ */
108
+ private deserialize;
109
+ }
@@ -56,6 +56,14 @@ export interface TerminateRecoveryInstancesCommandOutput extends TerminateRecove
56
56
  * // tags: { // TagsMap
57
57
  * // "<keys>": "STRING_VALUE",
58
58
  * // },
59
+ * // participatingResources: [ // ParticipatingResources
60
+ * // { // ParticipatingResource
61
+ * // participatingResourceID: { // ParticipatingResourceID Union: only one key present
62
+ * // sourceNetworkID: "STRING_VALUE",
63
+ * // },
64
+ * // launchStatus: "STRING_VALUE",
65
+ * // },
66
+ * // ],
59
67
  * // },
60
68
  * // };
61
69
  *
@@ -39,6 +39,7 @@ export interface UpdateLaunchConfigurationTemplateCommandOutput extends UpdateLa
39
39
  * licensing: { // Licensing
40
40
  * osByol: true || false,
41
41
  * },
42
+ * exportBucketArn: "STRING_VALUE",
42
43
  * };
43
44
  * const command = new UpdateLaunchConfigurationTemplateCommand(input);
44
45
  * const response = await client.send(command);
@@ -56,6 +57,7 @@ export interface UpdateLaunchConfigurationTemplateCommandOutput extends UpdateLa
56
57
  * // licensing: { // Licensing
57
58
  * // osByol: true || false,
58
59
  * // },
60
+ * // exportBucketArn: "STRING_VALUE",
59
61
  * // },
60
62
  * // };
61
63
  *