@aws-sdk/client-mgn 3.423.0 → 3.427.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 +40 -0
- package/dist-cjs/Mgn.js +10 -0
- package/dist-cjs/commands/CreateConnectorCommand.js +52 -0
- package/dist-cjs/commands/DeleteConnectorCommand.js +51 -0
- package/dist-cjs/commands/ListConnectorsCommand.js +52 -0
- package/dist-cjs/commands/UpdateConnectorCommand.js +52 -0
- package/dist-cjs/commands/UpdateSourceServerCommand.js +52 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +17 -2
- package/dist-cjs/pagination/ListConnectorsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +341 -3
- package/dist-es/Mgn.js +10 -0
- package/dist-es/commands/CreateConnectorCommand.js +48 -0
- package/dist-es/commands/DeleteConnectorCommand.js +47 -0
- package/dist-es/commands/ListConnectorsCommand.js +48 -0
- package/dist-es/commands/UpdateConnectorCommand.js +48 -0
- package/dist-es/commands/UpdateSourceServerCommand.js +48 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +12 -0
- package/dist-es/pagination/ListConnectorsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +328 -0
- package/dist-types/Mgn.d.ts +35 -0
- package/dist-types/MgnClient.d.ts +9 -2
- package/dist-types/commands/ChangeServerLifeCycleStateCommand.d.ts +4 -0
- package/dist-types/commands/CreateConnectorCommand.d.ts +101 -0
- package/dist-types/commands/DeleteConnectorCommand.d.ts +80 -0
- package/dist-types/commands/DescribeSourceServersCommand.d.ts +4 -0
- package/dist-types/commands/DisconnectFromServiceCommand.d.ts +4 -0
- package/dist-types/commands/FinalizeCutoverCommand.d.ts +4 -0
- package/dist-types/commands/ListConnectorsCommand.d.ts +102 -0
- package/dist-types/commands/MarkAsArchivedCommand.d.ts +4 -0
- package/dist-types/commands/PauseReplicationCommand.d.ts +4 -0
- package/dist-types/commands/ResumeReplicationCommand.d.ts +4 -0
- package/dist-types/commands/RetryDataReplicationCommand.d.ts +4 -0
- package/dist-types/commands/StartReplicationCommand.d.ts +4 -0
- package/dist-types/commands/StopReplicationCommand.d.ts +4 -0
- package/dist-types/commands/UpdateConnectorCommand.d.ts +101 -0
- package/dist-types/commands/UpdateSourceServerCommand.d.ts +202 -0
- package/dist-types/commands/UpdateSourceServerReplicationTypeCommand.d.ts +4 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +243 -28
- package/dist-types/pagination/ListConnectorsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/Mgn.d.ts +85 -0
- package/dist-types/ts3.4/MgnClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateConnectorCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateSourceServerCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +70 -13
- package/dist-types/ts3.4/pagination/ListConnectorsPaginator.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 +60 -0
- package/package.json +31 -31
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
|
|
5
|
+
import { Connector, CreateConnectorRequest } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateConnectorCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateConnectorCommandInput extends CreateConnectorRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateConnectorCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateConnectorCommandOutput extends Connector, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Create Connector.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { MgnClient, CreateConnectorCommand } from "@aws-sdk/client-mgn"; // ES Modules import
|
|
31
|
+
* // const { MgnClient, CreateConnectorCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
|
|
32
|
+
* const client = new MgnClient(config);
|
|
33
|
+
* const input = { // CreateConnectorRequest
|
|
34
|
+
* name: "STRING_VALUE", // required
|
|
35
|
+
* ssmInstanceID: "STRING_VALUE", // required
|
|
36
|
+
* tags: { // TagsMap
|
|
37
|
+
* "<keys>": "STRING_VALUE",
|
|
38
|
+
* },
|
|
39
|
+
* ssmCommandConfig: { // ConnectorSsmCommandConfig
|
|
40
|
+
* s3OutputEnabled: true || false, // required
|
|
41
|
+
* outputS3BucketName: "STRING_VALUE",
|
|
42
|
+
* cloudWatchOutputEnabled: true || false, // required
|
|
43
|
+
* cloudWatchLogGroupName: "STRING_VALUE",
|
|
44
|
+
* },
|
|
45
|
+
* };
|
|
46
|
+
* const command = new CreateConnectorCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // Connector
|
|
49
|
+
* // connectorID: "STRING_VALUE",
|
|
50
|
+
* // name: "STRING_VALUE",
|
|
51
|
+
* // ssmInstanceID: "STRING_VALUE",
|
|
52
|
+
* // arn: "STRING_VALUE",
|
|
53
|
+
* // tags: { // TagsMap
|
|
54
|
+
* // "<keys>": "STRING_VALUE",
|
|
55
|
+
* // },
|
|
56
|
+
* // ssmCommandConfig: { // ConnectorSsmCommandConfig
|
|
57
|
+
* // s3OutputEnabled: true || false, // required
|
|
58
|
+
* // outputS3BucketName: "STRING_VALUE",
|
|
59
|
+
* // cloudWatchOutputEnabled: true || false, // required
|
|
60
|
+
* // cloudWatchLogGroupName: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @param CreateConnectorCommandInput - {@link CreateConnectorCommandInput}
|
|
67
|
+
* @returns {@link CreateConnectorCommandOutput}
|
|
68
|
+
* @see {@link CreateConnectorCommandInput} for command's `input` shape.
|
|
69
|
+
* @see {@link CreateConnectorCommandOutput} for command's `response` shape.
|
|
70
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link UninitializedAccountException} (client fault)
|
|
73
|
+
* <p>Uninitialized account exception.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ValidationException} (client fault)
|
|
76
|
+
* <p>Validate exception.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link MgnServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from Mgn service.</p>
|
|
80
|
+
*
|
|
81
|
+
*/
|
|
82
|
+
export declare class CreateConnectorCommand extends $Command<CreateConnectorCommandInput, CreateConnectorCommandOutput, MgnClientResolvedConfig> {
|
|
83
|
+
readonly input: CreateConnectorCommandInput;
|
|
84
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
constructor(input: CreateConnectorCommandInput);
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MgnClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateConnectorCommandInput, CreateConnectorCommandOutput>;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
private serialize;
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
private deserialize;
|
|
101
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
|
|
5
|
+
import { DeleteConnectorRequest } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteConnectorCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteConnectorCommandInput extends DeleteConnectorRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteConnectorCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteConnectorCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Delete Connector.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { MgnClient, DeleteConnectorCommand } from "@aws-sdk/client-mgn"; // ES Modules import
|
|
31
|
+
* // const { MgnClient, DeleteConnectorCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
|
|
32
|
+
* const client = new MgnClient(config);
|
|
33
|
+
* const input = { // DeleteConnectorRequest
|
|
34
|
+
* connectorID: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
36
|
+
* const command = new DeleteConnectorCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // {};
|
|
39
|
+
*
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* @param DeleteConnectorCommandInput - {@link DeleteConnectorCommandInput}
|
|
43
|
+
* @returns {@link DeleteConnectorCommandOutput}
|
|
44
|
+
* @see {@link DeleteConnectorCommandInput} for command's `input` shape.
|
|
45
|
+
* @see {@link DeleteConnectorCommandOutput} for command's `response` shape.
|
|
46
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
49
|
+
* <p>Resource not found exception.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link UninitializedAccountException} (client fault)
|
|
52
|
+
* <p>Uninitialized account exception.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ValidationException} (client fault)
|
|
55
|
+
* <p>Validate exception.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link MgnServiceException}
|
|
58
|
+
* <p>Base exception class for all service exceptions from Mgn service.</p>
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
export declare class DeleteConnectorCommand extends $Command<DeleteConnectorCommandInput, DeleteConnectorCommandOutput, MgnClientResolvedConfig> {
|
|
62
|
+
readonly input: DeleteConnectorCommandInput;
|
|
63
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
constructor(input: DeleteConnectorCommandInput);
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MgnClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteConnectorCommandInput, DeleteConnectorCommandOutput>;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
private serialize;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
private deserialize;
|
|
80
|
+
}
|
|
@@ -167,6 +167,10 @@ export interface DescribeSourceServersCommandOutput extends DescribeSourceServer
|
|
|
167
167
|
* // applicationID: "STRING_VALUE",
|
|
168
168
|
* // userProvidedID: "STRING_VALUE",
|
|
169
169
|
* // fqdnForActionFramework: "STRING_VALUE",
|
|
170
|
+
* // connectorAction: { // SourceServerConnectorAction
|
|
171
|
+
* // credentialsSecretArn: "STRING_VALUE",
|
|
172
|
+
* // connectorArn: "STRING_VALUE",
|
|
173
|
+
* // },
|
|
170
174
|
* // },
|
|
171
175
|
* // ],
|
|
172
176
|
* // nextToken: "STRING_VALUE",
|
|
@@ -149,6 +149,10 @@ export interface DisconnectFromServiceCommandOutput extends SourceServer, __Meta
|
|
|
149
149
|
* // applicationID: "STRING_VALUE",
|
|
150
150
|
* // userProvidedID: "STRING_VALUE",
|
|
151
151
|
* // fqdnForActionFramework: "STRING_VALUE",
|
|
152
|
+
* // connectorAction: { // SourceServerConnectorAction
|
|
153
|
+
* // credentialsSecretArn: "STRING_VALUE",
|
|
154
|
+
* // connectorArn: "STRING_VALUE",
|
|
155
|
+
* // },
|
|
152
156
|
* // };
|
|
153
157
|
*
|
|
154
158
|
* ```
|
|
@@ -149,6 +149,10 @@ export interface FinalizeCutoverCommandOutput extends SourceServer, __MetadataBe
|
|
|
149
149
|
* // applicationID: "STRING_VALUE",
|
|
150
150
|
* // userProvidedID: "STRING_VALUE",
|
|
151
151
|
* // fqdnForActionFramework: "STRING_VALUE",
|
|
152
|
+
* // connectorAction: { // SourceServerConnectorAction
|
|
153
|
+
* // credentialsSecretArn: "STRING_VALUE",
|
|
154
|
+
* // connectorArn: "STRING_VALUE",
|
|
155
|
+
* // },
|
|
152
156
|
* // };
|
|
153
157
|
*
|
|
154
158
|
* ```
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
|
|
5
|
+
import { ListConnectorsRequest, ListConnectorsResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListConnectorsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListConnectorsCommandInput extends ListConnectorsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListConnectorsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListConnectorsCommandOutput extends ListConnectorsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>List Connectors.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { MgnClient, ListConnectorsCommand } from "@aws-sdk/client-mgn"; // ES Modules import
|
|
31
|
+
* // const { MgnClient, ListConnectorsCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
|
|
32
|
+
* const client = new MgnClient(config);
|
|
33
|
+
* const input = { // ListConnectorsRequest
|
|
34
|
+
* filters: { // ListConnectorsRequestFilters
|
|
35
|
+
* connectorIDs: [ // ConnectorIDsFilter
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* },
|
|
39
|
+
* maxResults: Number("int"),
|
|
40
|
+
* nextToken: "STRING_VALUE",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListConnectorsCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListConnectorsResponse
|
|
45
|
+
* // items: [ // ConnectorsList
|
|
46
|
+
* // { // Connector
|
|
47
|
+
* // connectorID: "STRING_VALUE",
|
|
48
|
+
* // name: "STRING_VALUE",
|
|
49
|
+
* // ssmInstanceID: "STRING_VALUE",
|
|
50
|
+
* // arn: "STRING_VALUE",
|
|
51
|
+
* // tags: { // TagsMap
|
|
52
|
+
* // "<keys>": "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // ssmCommandConfig: { // ConnectorSsmCommandConfig
|
|
55
|
+
* // s3OutputEnabled: true || false, // required
|
|
56
|
+
* // outputS3BucketName: "STRING_VALUE",
|
|
57
|
+
* // cloudWatchOutputEnabled: true || false, // required
|
|
58
|
+
* // cloudWatchLogGroupName: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // nextToken: "STRING_VALUE",
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* @param ListConnectorsCommandInput - {@link ListConnectorsCommandInput}
|
|
68
|
+
* @returns {@link ListConnectorsCommandOutput}
|
|
69
|
+
* @see {@link ListConnectorsCommandInput} for command's `input` shape.
|
|
70
|
+
* @see {@link ListConnectorsCommandOutput} for command's `response` shape.
|
|
71
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link UninitializedAccountException} (client fault)
|
|
74
|
+
* <p>Uninitialized account exception.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ValidationException} (client fault)
|
|
77
|
+
* <p>Validate exception.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link MgnServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from Mgn service.</p>
|
|
81
|
+
*
|
|
82
|
+
*/
|
|
83
|
+
export declare class ListConnectorsCommand extends $Command<ListConnectorsCommandInput, ListConnectorsCommandOutput, MgnClientResolvedConfig> {
|
|
84
|
+
readonly input: ListConnectorsCommandInput;
|
|
85
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
86
|
+
/**
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
constructor(input: ListConnectorsCommandInput);
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MgnClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListConnectorsCommandInput, ListConnectorsCommandOutput>;
|
|
94
|
+
/**
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
97
|
+
private serialize;
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
101
|
+
private deserialize;
|
|
102
|
+
}
|
|
@@ -149,6 +149,10 @@ export interface MarkAsArchivedCommandOutput extends SourceServer, __MetadataBea
|
|
|
149
149
|
* // applicationID: "STRING_VALUE",
|
|
150
150
|
* // userProvidedID: "STRING_VALUE",
|
|
151
151
|
* // fqdnForActionFramework: "STRING_VALUE",
|
|
152
|
+
* // connectorAction: { // SourceServerConnectorAction
|
|
153
|
+
* // credentialsSecretArn: "STRING_VALUE",
|
|
154
|
+
* // connectorArn: "STRING_VALUE",
|
|
155
|
+
* // },
|
|
152
156
|
* // };
|
|
153
157
|
*
|
|
154
158
|
* ```
|
|
@@ -149,6 +149,10 @@ export interface PauseReplicationCommandOutput extends SourceServer, __MetadataB
|
|
|
149
149
|
* // applicationID: "STRING_VALUE",
|
|
150
150
|
* // userProvidedID: "STRING_VALUE",
|
|
151
151
|
* // fqdnForActionFramework: "STRING_VALUE",
|
|
152
|
+
* // connectorAction: { // SourceServerConnectorAction
|
|
153
|
+
* // credentialsSecretArn: "STRING_VALUE",
|
|
154
|
+
* // connectorArn: "STRING_VALUE",
|
|
155
|
+
* // },
|
|
152
156
|
* // };
|
|
153
157
|
*
|
|
154
158
|
* ```
|
|
@@ -149,6 +149,10 @@ export interface ResumeReplicationCommandOutput extends SourceServer, __Metadata
|
|
|
149
149
|
* // applicationID: "STRING_VALUE",
|
|
150
150
|
* // userProvidedID: "STRING_VALUE",
|
|
151
151
|
* // fqdnForActionFramework: "STRING_VALUE",
|
|
152
|
+
* // connectorAction: { // SourceServerConnectorAction
|
|
153
|
+
* // credentialsSecretArn: "STRING_VALUE",
|
|
154
|
+
* // connectorArn: "STRING_VALUE",
|
|
155
|
+
* // },
|
|
152
156
|
* // };
|
|
153
157
|
*
|
|
154
158
|
* ```
|
|
@@ -149,6 +149,10 @@ export interface RetryDataReplicationCommandOutput extends SourceServer, __Metad
|
|
|
149
149
|
* // applicationID: "STRING_VALUE",
|
|
150
150
|
* // userProvidedID: "STRING_VALUE",
|
|
151
151
|
* // fqdnForActionFramework: "STRING_VALUE",
|
|
152
|
+
* // connectorAction: { // SourceServerConnectorAction
|
|
153
|
+
* // credentialsSecretArn: "STRING_VALUE",
|
|
154
|
+
* // connectorArn: "STRING_VALUE",
|
|
155
|
+
* // },
|
|
152
156
|
* // };
|
|
153
157
|
*
|
|
154
158
|
* ```
|
|
@@ -149,6 +149,10 @@ export interface StartReplicationCommandOutput extends SourceServer, __MetadataB
|
|
|
149
149
|
* // applicationID: "STRING_VALUE",
|
|
150
150
|
* // userProvidedID: "STRING_VALUE",
|
|
151
151
|
* // fqdnForActionFramework: "STRING_VALUE",
|
|
152
|
+
* // connectorAction: { // SourceServerConnectorAction
|
|
153
|
+
* // credentialsSecretArn: "STRING_VALUE",
|
|
154
|
+
* // connectorArn: "STRING_VALUE",
|
|
155
|
+
* // },
|
|
152
156
|
* // };
|
|
153
157
|
*
|
|
154
158
|
* ```
|
|
@@ -149,6 +149,10 @@ export interface StopReplicationCommandOutput extends SourceServer, __MetadataBe
|
|
|
149
149
|
* // applicationID: "STRING_VALUE",
|
|
150
150
|
* // userProvidedID: "STRING_VALUE",
|
|
151
151
|
* // fqdnForActionFramework: "STRING_VALUE",
|
|
152
|
+
* // connectorAction: { // SourceServerConnectorAction
|
|
153
|
+
* // credentialsSecretArn: "STRING_VALUE",
|
|
154
|
+
* // connectorArn: "STRING_VALUE",
|
|
155
|
+
* // },
|
|
152
156
|
* // };
|
|
153
157
|
*
|
|
154
158
|
* ```
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
|
|
5
|
+
import { Connector, UpdateConnectorRequest } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateConnectorCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateConnectorCommandInput extends UpdateConnectorRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateConnectorCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateConnectorCommandOutput extends Connector, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Update Connector.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { MgnClient, UpdateConnectorCommand } from "@aws-sdk/client-mgn"; // ES Modules import
|
|
31
|
+
* // const { MgnClient, UpdateConnectorCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
|
|
32
|
+
* const client = new MgnClient(config);
|
|
33
|
+
* const input = { // UpdateConnectorRequest
|
|
34
|
+
* connectorID: "STRING_VALUE", // required
|
|
35
|
+
* name: "STRING_VALUE",
|
|
36
|
+
* ssmCommandConfig: { // ConnectorSsmCommandConfig
|
|
37
|
+
* s3OutputEnabled: true || false, // required
|
|
38
|
+
* outputS3BucketName: "STRING_VALUE",
|
|
39
|
+
* cloudWatchOutputEnabled: true || false, // required
|
|
40
|
+
* cloudWatchLogGroupName: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* };
|
|
43
|
+
* const command = new UpdateConnectorCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // Connector
|
|
46
|
+
* // connectorID: "STRING_VALUE",
|
|
47
|
+
* // name: "STRING_VALUE",
|
|
48
|
+
* // ssmInstanceID: "STRING_VALUE",
|
|
49
|
+
* // arn: "STRING_VALUE",
|
|
50
|
+
* // tags: { // TagsMap
|
|
51
|
+
* // "<keys>": "STRING_VALUE",
|
|
52
|
+
* // },
|
|
53
|
+
* // ssmCommandConfig: { // ConnectorSsmCommandConfig
|
|
54
|
+
* // s3OutputEnabled: true || false, // required
|
|
55
|
+
* // outputS3BucketName: "STRING_VALUE",
|
|
56
|
+
* // cloudWatchOutputEnabled: true || false, // required
|
|
57
|
+
* // cloudWatchLogGroupName: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param UpdateConnectorCommandInput - {@link UpdateConnectorCommandInput}
|
|
64
|
+
* @returns {@link UpdateConnectorCommandOutput}
|
|
65
|
+
* @see {@link UpdateConnectorCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link UpdateConnectorCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
|
+
* <p>Resource not found exception.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link UninitializedAccountException} (client fault)
|
|
73
|
+
* <p>Uninitialized account exception.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ValidationException} (client fault)
|
|
76
|
+
* <p>Validate exception.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link MgnServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from Mgn service.</p>
|
|
80
|
+
*
|
|
81
|
+
*/
|
|
82
|
+
export declare class UpdateConnectorCommand extends $Command<UpdateConnectorCommandInput, UpdateConnectorCommandOutput, MgnClientResolvedConfig> {
|
|
83
|
+
readonly input: UpdateConnectorCommandInput;
|
|
84
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
constructor(input: UpdateConnectorCommandInput);
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MgnClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateConnectorCommandInput, UpdateConnectorCommandOutput>;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
private serialize;
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
private deserialize;
|
|
101
|
+
}
|