@aws-sdk/client-networkmanager 3.41.0 → 3.46.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/CHANGELOG.md +44 -0
- package/README.md +7 -7
- package/dist-cjs/NetworkManager.js +495 -0
- package/dist-cjs/commands/AcceptAttachmentCommand.js +36 -0
- package/dist-cjs/commands/AssociateConnectPeerCommand.js +36 -0
- package/dist-cjs/commands/CreateConnectAttachmentCommand.js +36 -0
- package/dist-cjs/commands/CreateConnectPeerCommand.js +36 -0
- package/dist-cjs/commands/CreateCoreNetworkCommand.js +36 -0
- package/dist-cjs/commands/CreateSiteToSiteVpnAttachmentCommand.js +36 -0
- package/dist-cjs/commands/CreateVpcAttachmentCommand.js +36 -0
- package/dist-cjs/commands/DeleteAttachmentCommand.js +36 -0
- package/dist-cjs/commands/DeleteConnectPeerCommand.js +36 -0
- package/dist-cjs/commands/DeleteCoreNetworkCommand.js +36 -0
- package/dist-cjs/commands/DeleteCoreNetworkPolicyVersionCommand.js +36 -0
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +36 -0
- package/dist-cjs/commands/DisassociateConnectPeerCommand.js +36 -0
- package/dist-cjs/commands/ExecuteCoreNetworkChangeSetCommand.js +36 -0
- package/dist-cjs/commands/GetConnectAttachmentCommand.js +36 -0
- package/dist-cjs/commands/GetConnectPeerAssociationsCommand.js +36 -0
- package/dist-cjs/commands/GetConnectPeerCommand.js +36 -0
- package/dist-cjs/commands/GetCoreNetworkChangeSetCommand.js +36 -0
- package/dist-cjs/commands/GetCoreNetworkCommand.js +36 -0
- package/dist-cjs/commands/GetCoreNetworkPolicyCommand.js +36 -0
- package/dist-cjs/commands/GetResourcePolicyCommand.js +36 -0
- package/dist-cjs/commands/GetSiteToSiteVpnAttachmentCommand.js +36 -0
- package/dist-cjs/commands/GetVpcAttachmentCommand.js +36 -0
- package/dist-cjs/commands/ListAttachmentsCommand.js +36 -0
- package/dist-cjs/commands/ListConnectPeersCommand.js +36 -0
- package/dist-cjs/commands/ListCoreNetworkPolicyVersionsCommand.js +36 -0
- package/dist-cjs/commands/ListCoreNetworksCommand.js +36 -0
- package/dist-cjs/commands/PutCoreNetworkPolicyCommand.js +36 -0
- package/dist-cjs/commands/PutResourcePolicyCommand.js +36 -0
- package/dist-cjs/commands/RejectAttachmentCommand.js +36 -0
- package/dist-cjs/commands/RestoreCoreNetworkPolicyVersionCommand.js +36 -0
- package/dist-cjs/commands/UpdateCoreNetworkCommand.js +36 -0
- package/dist-cjs/commands/UpdateVpcAttachmentCommand.js +36 -0
- package/dist-cjs/commands/index.js +33 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +654 -40
- package/dist-cjs/pagination/GetConnectPeerAssociationsPaginator.js +35 -0
- package/dist-cjs/pagination/GetCoreNetworkChangeSetPaginator.js +35 -0
- package/dist-cjs/pagination/ListAttachmentsPaginator.js +35 -0
- package/dist-cjs/pagination/ListConnectPeersPaginator.js +35 -0
- package/dist-cjs/pagination/ListCoreNetworkPolicyVersionsPaginator.js +35 -0
- package/dist-cjs/pagination/ListCoreNetworksPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +7 -1
- package/dist-cjs/protocols/Aws_restJson1.js +4808 -541
- package/dist-cjs/runtimeConfig.js +0 -2
- package/dist-es/NetworkManager.js +495 -0
- package/dist-es/commands/AcceptAttachmentCommand.js +39 -0
- package/dist-es/commands/AssociateConnectPeerCommand.js +39 -0
- package/dist-es/commands/CreateConnectAttachmentCommand.js +39 -0
- package/dist-es/commands/CreateConnectPeerCommand.js +39 -0
- package/dist-es/commands/CreateCoreNetworkCommand.js +39 -0
- package/dist-es/commands/CreateSiteToSiteVpnAttachmentCommand.js +39 -0
- package/dist-es/commands/CreateVpcAttachmentCommand.js +39 -0
- package/dist-es/commands/DeleteAttachmentCommand.js +39 -0
- package/dist-es/commands/DeleteConnectPeerCommand.js +39 -0
- package/dist-es/commands/DeleteCoreNetworkCommand.js +39 -0
- package/dist-es/commands/DeleteCoreNetworkPolicyVersionCommand.js +39 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +39 -0
- package/dist-es/commands/DisassociateConnectPeerCommand.js +39 -0
- package/dist-es/commands/ExecuteCoreNetworkChangeSetCommand.js +39 -0
- package/dist-es/commands/GetConnectAttachmentCommand.js +39 -0
- package/dist-es/commands/GetConnectPeerAssociationsCommand.js +39 -0
- package/dist-es/commands/GetConnectPeerCommand.js +39 -0
- package/dist-es/commands/GetCoreNetworkChangeSetCommand.js +39 -0
- package/dist-es/commands/GetCoreNetworkCommand.js +39 -0
- package/dist-es/commands/GetCoreNetworkPolicyCommand.js +39 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +39 -0
- package/dist-es/commands/GetSiteToSiteVpnAttachmentCommand.js +39 -0
- package/dist-es/commands/GetVpcAttachmentCommand.js +39 -0
- package/dist-es/commands/ListAttachmentsCommand.js +39 -0
- package/dist-es/commands/ListConnectPeersCommand.js +39 -0
- package/dist-es/commands/ListCoreNetworkPolicyVersionsCommand.js +39 -0
- package/dist-es/commands/ListCoreNetworksCommand.js +39 -0
- package/dist-es/commands/PutCoreNetworkPolicyCommand.js +39 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +39 -0
- package/dist-es/commands/RejectAttachmentCommand.js +39 -0
- package/dist-es/commands/RestoreCoreNetworkPolicyVersionCommand.js +39 -0
- package/dist-es/commands/UpdateCoreNetworkCommand.js +39 -0
- package/dist-es/commands/UpdateVpcAttachmentCommand.js +39 -0
- package/dist-es/commands/index.js +33 -0
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +459 -27
- package/dist-es/pagination/GetConnectPeerAssociationsPaginator.js +74 -0
- package/dist-es/pagination/GetCoreNetworkChangeSetPaginator.js +74 -0
- package/dist-es/pagination/ListAttachmentsPaginator.js +74 -0
- package/dist-es/pagination/ListConnectPeersPaginator.js +74 -0
- package/dist-es/pagination/ListCoreNetworkPolicyVersionsPaginator.js +74 -0
- package/dist-es/pagination/ListCoreNetworksPaginator.js +74 -0
- package/dist-es/pagination/index.js +7 -1
- package/dist-es/protocols/Aws_restJson1.js +6500 -1703
- package/dist-es/runtimeConfig.js +0 -2
- package/dist-types/NetworkManager.d.ts +240 -0
- package/dist-types/NetworkManagerClient.d.ts +35 -2
- package/dist-types/commands/AcceptAttachmentCommand.d.ts +37 -0
- package/dist-types/commands/AssociateConnectPeerCommand.d.ts +38 -0
- package/dist-types/commands/CreateConnectAttachmentCommand.d.ts +38 -0
- package/dist-types/commands/CreateConnectPeerCommand.d.ts +36 -0
- package/dist-types/commands/CreateCoreNetworkCommand.d.ts +35 -0
- package/dist-types/commands/CreateSiteToSiteVpnAttachmentCommand.d.ts +35 -0
- package/dist-types/commands/CreateVpcAttachmentCommand.d.ts +35 -0
- package/dist-types/commands/DeleteAttachmentCommand.d.ts +35 -0
- package/dist-types/commands/DeleteConnectPeerCommand.d.ts +35 -0
- package/dist-types/commands/DeleteCoreNetworkCommand.d.ts +35 -0
- package/dist-types/commands/DeleteCoreNetworkPolicyVersionCommand.d.ts +35 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +35 -0
- package/dist-types/commands/DisassociateConnectPeerCommand.d.ts +35 -0
- package/dist-types/commands/ExecuteCoreNetworkChangeSetCommand.d.ts +35 -0
- package/dist-types/commands/GetConnectAttachmentCommand.d.ts +35 -0
- package/dist-types/commands/GetConnectPeerAssociationsCommand.d.ts +35 -0
- package/dist-types/commands/GetConnectPeerCommand.d.ts +35 -0
- package/dist-types/commands/GetCoreNetworkChangeSetCommand.d.ts +35 -0
- package/dist-types/commands/GetCoreNetworkCommand.d.ts +35 -0
- package/dist-types/commands/GetCoreNetworkPolicyCommand.d.ts +35 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +35 -0
- package/dist-types/commands/GetSiteToSiteVpnAttachmentCommand.d.ts +35 -0
- package/dist-types/commands/GetVpcAttachmentCommand.d.ts +35 -0
- package/dist-types/commands/ListAttachmentsCommand.d.ts +35 -0
- package/dist-types/commands/ListConnectPeersCommand.d.ts +35 -0
- package/dist-types/commands/ListCoreNetworkPolicyVersionsCommand.d.ts +35 -0
- package/dist-types/commands/ListCoreNetworksCommand.d.ts +35 -0
- package/dist-types/commands/PutCoreNetworkPolicyCommand.d.ts +35 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +35 -0
- package/dist-types/commands/RejectAttachmentCommand.d.ts +35 -0
- package/dist-types/commands/RestoreCoreNetworkPolicyVersionCommand.d.ts +35 -0
- package/dist-types/commands/UpdateCoreNetworkCommand.d.ts +35 -0
- package/dist-types/commands/UpdateVpcAttachmentCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +33 -0
- package/dist-types/models/models_0.d.ts +2086 -229
- package/dist-types/pagination/GetConnectPeerAssociationsPaginator.d.ts +4 -0
- package/dist-types/pagination/GetCoreNetworkChangeSetPaginator.d.ts +4 -0
- package/dist-types/pagination/ListAttachmentsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListConnectPeersPaginator.d.ts +4 -0
- package/dist-types/pagination/ListCoreNetworkPolicyVersionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListCoreNetworksPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +7 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +99 -0
- package/dist-types/ts3.4/NetworkManager.d.ts +165 -0
- package/dist-types/ts3.4/NetworkManagerClient.d.ts +35 -2
- package/dist-types/ts3.4/commands/AcceptAttachmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AssociateConnectPeerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateConnectAttachmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateConnectPeerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateCoreNetworkCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateSiteToSiteVpnAttachmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateVpcAttachmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteAttachmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteConnectPeerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteCoreNetworkCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteCoreNetworkPolicyVersionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateConnectPeerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ExecuteCoreNetworkChangeSetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetConnectAttachmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetConnectPeerAssociationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetConnectPeerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetCoreNetworkChangeSetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetCoreNetworkCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetCoreNetworkPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSiteToSiteVpnAttachmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetVpcAttachmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAttachmentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListConnectPeersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListCoreNetworkPolicyVersionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListCoreNetworksCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutCoreNetworkPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RejectAttachmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RestoreCoreNetworkPolicyVersionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateCoreNetworkCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateVpcAttachmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +33 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1200 -71
- package/dist-types/ts3.4/pagination/GetConnectPeerAssociationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetCoreNetworkChangeSetPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListAttachmentsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListConnectPeersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListCoreNetworkPolicyVersionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListCoreNetworksPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +7 -1
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +99 -0
- package/package.json +38 -43
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetCoreNetworkCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class GetCoreNetworkCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "NetworkManagerClient";
|
|
18
|
+
const commandName = "GetCoreNetworkCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetCoreNetworkRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetCoreNetworkResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1GetCoreNetworkCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1GetCoreNetworkCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetCoreNetworkCommand = GetCoreNetworkCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetCoreNetworkPolicyCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class GetCoreNetworkPolicyCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "NetworkManagerClient";
|
|
18
|
+
const commandName = "GetCoreNetworkPolicyCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetCoreNetworkPolicyRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetCoreNetworkPolicyResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1GetCoreNetworkPolicyCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1GetCoreNetworkPolicyCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetCoreNetworkPolicyCommand = GetCoreNetworkPolicyCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetResourcePolicyCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class GetResourcePolicyCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "NetworkManagerClient";
|
|
18
|
+
const commandName = "GetResourcePolicyCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetResourcePolicyRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetResourcePolicyResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1GetResourcePolicyCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1GetResourcePolicyCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetSiteToSiteVpnAttachmentCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class GetSiteToSiteVpnAttachmentCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "NetworkManagerClient";
|
|
18
|
+
const commandName = "GetSiteToSiteVpnAttachmentCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetSiteToSiteVpnAttachmentRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetSiteToSiteVpnAttachmentResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1GetSiteToSiteVpnAttachmentCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1GetSiteToSiteVpnAttachmentCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetSiteToSiteVpnAttachmentCommand = GetSiteToSiteVpnAttachmentCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetVpcAttachmentCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class GetVpcAttachmentCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "NetworkManagerClient";
|
|
18
|
+
const commandName = "GetVpcAttachmentCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetVpcAttachmentRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetVpcAttachmentResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1GetVpcAttachmentCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1GetVpcAttachmentCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetVpcAttachmentCommand = GetVpcAttachmentCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListAttachmentsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class ListAttachmentsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "NetworkManagerClient";
|
|
18
|
+
const commandName = "ListAttachmentsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListAttachmentsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListAttachmentsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1ListAttachmentsCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1ListAttachmentsCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListAttachmentsCommand = ListAttachmentsCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListConnectPeersCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class ListConnectPeersCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "NetworkManagerClient";
|
|
18
|
+
const commandName = "ListConnectPeersCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListConnectPeersRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListConnectPeersResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1ListConnectPeersCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1ListConnectPeersCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListConnectPeersCommand = ListConnectPeersCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListCoreNetworkPolicyVersionsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class ListCoreNetworkPolicyVersionsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "NetworkManagerClient";
|
|
18
|
+
const commandName = "ListCoreNetworkPolicyVersionsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListCoreNetworkPolicyVersionsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListCoreNetworkPolicyVersionsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1ListCoreNetworkPolicyVersionsCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1ListCoreNetworkPolicyVersionsCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListCoreNetworkPolicyVersionsCommand = ListCoreNetworkPolicyVersionsCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListCoreNetworksCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class ListCoreNetworksCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "NetworkManagerClient";
|
|
18
|
+
const commandName = "ListCoreNetworksCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListCoreNetworksRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListCoreNetworksResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1ListCoreNetworksCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1ListCoreNetworksCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListCoreNetworksCommand = ListCoreNetworksCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PutCoreNetworkPolicyCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class PutCoreNetworkPolicyCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "NetworkManagerClient";
|
|
18
|
+
const commandName = "PutCoreNetworkPolicyCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.PutCoreNetworkPolicyRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.PutCoreNetworkPolicyResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1PutCoreNetworkPolicyCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1PutCoreNetworkPolicyCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.PutCoreNetworkPolicyCommand = PutCoreNetworkPolicyCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PutResourcePolicyCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class PutResourcePolicyCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "NetworkManagerClient";
|
|
18
|
+
const commandName = "PutResourcePolicyCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.PutResourcePolicyRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.PutResourcePolicyResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1PutResourcePolicyCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1PutResourcePolicyCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RejectAttachmentCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class RejectAttachmentCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "NetworkManagerClient";
|
|
18
|
+
const commandName = "RejectAttachmentCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.RejectAttachmentRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.RejectAttachmentResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1RejectAttachmentCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1RejectAttachmentCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.RejectAttachmentCommand = RejectAttachmentCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RestoreCoreNetworkPolicyVersionCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class RestoreCoreNetworkPolicyVersionCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "NetworkManagerClient";
|
|
18
|
+
const commandName = "RestoreCoreNetworkPolicyVersionCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.RestoreCoreNetworkPolicyVersionRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.RestoreCoreNetworkPolicyVersionResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1RestoreCoreNetworkPolicyVersionCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1RestoreCoreNetworkPolicyVersionCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.RestoreCoreNetworkPolicyVersionCommand = RestoreCoreNetworkPolicyVersionCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateCoreNetworkCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class UpdateCoreNetworkCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "NetworkManagerClient";
|
|
18
|
+
const commandName = "UpdateCoreNetworkCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.UpdateCoreNetworkRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.UpdateCoreNetworkResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1UpdateCoreNetworkCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1UpdateCoreNetworkCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.UpdateCoreNetworkCommand = UpdateCoreNetworkCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateVpcAttachmentCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class UpdateVpcAttachmentCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "NetworkManagerClient";
|
|
18
|
+
const commandName = "UpdateVpcAttachmentCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.UpdateVpcAttachmentRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.UpdateVpcAttachmentResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1UpdateVpcAttachmentCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1UpdateVpcAttachmentCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.UpdateVpcAttachmentCommand = UpdateVpcAttachmentCommand;
|
|
@@ -1,25 +1,45 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./AcceptAttachmentCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./AssociateConnectPeerCommand"), exports);
|
|
4
6
|
tslib_1.__exportStar(require("./AssociateCustomerGatewayCommand"), exports);
|
|
5
7
|
tslib_1.__exportStar(require("./AssociateLinkCommand"), exports);
|
|
6
8
|
tslib_1.__exportStar(require("./AssociateTransitGatewayConnectPeerCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./CreateConnectAttachmentCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./CreateConnectPeerCommand"), exports);
|
|
7
11
|
tslib_1.__exportStar(require("./CreateConnectionCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./CreateCoreNetworkCommand"), exports);
|
|
8
13
|
tslib_1.__exportStar(require("./CreateDeviceCommand"), exports);
|
|
9
14
|
tslib_1.__exportStar(require("./CreateGlobalNetworkCommand"), exports);
|
|
10
15
|
tslib_1.__exportStar(require("./CreateLinkCommand"), exports);
|
|
11
16
|
tslib_1.__exportStar(require("./CreateSiteCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./CreateSiteToSiteVpnAttachmentCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./CreateVpcAttachmentCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./DeleteAttachmentCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./DeleteConnectPeerCommand"), exports);
|
|
12
21
|
tslib_1.__exportStar(require("./DeleteConnectionCommand"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./DeleteCoreNetworkCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./DeleteCoreNetworkPolicyVersionCommand"), exports);
|
|
13
24
|
tslib_1.__exportStar(require("./DeleteDeviceCommand"), exports);
|
|
14
25
|
tslib_1.__exportStar(require("./DeleteGlobalNetworkCommand"), exports);
|
|
15
26
|
tslib_1.__exportStar(require("./DeleteLinkCommand"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./DeleteResourcePolicyCommand"), exports);
|
|
16
28
|
tslib_1.__exportStar(require("./DeleteSiteCommand"), exports);
|
|
17
29
|
tslib_1.__exportStar(require("./DeregisterTransitGatewayCommand"), exports);
|
|
18
30
|
tslib_1.__exportStar(require("./DescribeGlobalNetworksCommand"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./DisassociateConnectPeerCommand"), exports);
|
|
19
32
|
tslib_1.__exportStar(require("./DisassociateCustomerGatewayCommand"), exports);
|
|
20
33
|
tslib_1.__exportStar(require("./DisassociateLinkCommand"), exports);
|
|
21
34
|
tslib_1.__exportStar(require("./DisassociateTransitGatewayConnectPeerCommand"), exports);
|
|
35
|
+
tslib_1.__exportStar(require("./ExecuteCoreNetworkChangeSetCommand"), exports);
|
|
36
|
+
tslib_1.__exportStar(require("./GetConnectAttachmentCommand"), exports);
|
|
37
|
+
tslib_1.__exportStar(require("./GetConnectPeerAssociationsCommand"), exports);
|
|
38
|
+
tslib_1.__exportStar(require("./GetConnectPeerCommand"), exports);
|
|
22
39
|
tslib_1.__exportStar(require("./GetConnectionsCommand"), exports);
|
|
40
|
+
tslib_1.__exportStar(require("./GetCoreNetworkChangeSetCommand"), exports);
|
|
41
|
+
tslib_1.__exportStar(require("./GetCoreNetworkCommand"), exports);
|
|
42
|
+
tslib_1.__exportStar(require("./GetCoreNetworkPolicyCommand"), exports);
|
|
23
43
|
tslib_1.__exportStar(require("./GetCustomerGatewayAssociationsCommand"), exports);
|
|
24
44
|
tslib_1.__exportStar(require("./GetDevicesCommand"), exports);
|
|
25
45
|
tslib_1.__exportStar(require("./GetLinkAssociationsCommand"), exports);
|
|
@@ -29,18 +49,31 @@ tslib_1.__exportStar(require("./GetNetworkResourceRelationshipsCommand"), export
|
|
|
29
49
|
tslib_1.__exportStar(require("./GetNetworkResourcesCommand"), exports);
|
|
30
50
|
tslib_1.__exportStar(require("./GetNetworkRoutesCommand"), exports);
|
|
31
51
|
tslib_1.__exportStar(require("./GetNetworkTelemetryCommand"), exports);
|
|
52
|
+
tslib_1.__exportStar(require("./GetResourcePolicyCommand"), exports);
|
|
32
53
|
tslib_1.__exportStar(require("./GetRouteAnalysisCommand"), exports);
|
|
54
|
+
tslib_1.__exportStar(require("./GetSiteToSiteVpnAttachmentCommand"), exports);
|
|
33
55
|
tslib_1.__exportStar(require("./GetSitesCommand"), exports);
|
|
34
56
|
tslib_1.__exportStar(require("./GetTransitGatewayConnectPeerAssociationsCommand"), exports);
|
|
35
57
|
tslib_1.__exportStar(require("./GetTransitGatewayRegistrationsCommand"), exports);
|
|
58
|
+
tslib_1.__exportStar(require("./GetVpcAttachmentCommand"), exports);
|
|
59
|
+
tslib_1.__exportStar(require("./ListAttachmentsCommand"), exports);
|
|
60
|
+
tslib_1.__exportStar(require("./ListConnectPeersCommand"), exports);
|
|
61
|
+
tslib_1.__exportStar(require("./ListCoreNetworkPolicyVersionsCommand"), exports);
|
|
62
|
+
tslib_1.__exportStar(require("./ListCoreNetworksCommand"), exports);
|
|
36
63
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
64
|
+
tslib_1.__exportStar(require("./PutCoreNetworkPolicyCommand"), exports);
|
|
65
|
+
tslib_1.__exportStar(require("./PutResourcePolicyCommand"), exports);
|
|
37
66
|
tslib_1.__exportStar(require("./RegisterTransitGatewayCommand"), exports);
|
|
67
|
+
tslib_1.__exportStar(require("./RejectAttachmentCommand"), exports);
|
|
68
|
+
tslib_1.__exportStar(require("./RestoreCoreNetworkPolicyVersionCommand"), exports);
|
|
38
69
|
tslib_1.__exportStar(require("./StartRouteAnalysisCommand"), exports);
|
|
39
70
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
40
71
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
41
72
|
tslib_1.__exportStar(require("./UpdateConnectionCommand"), exports);
|
|
73
|
+
tslib_1.__exportStar(require("./UpdateCoreNetworkCommand"), exports);
|
|
42
74
|
tslib_1.__exportStar(require("./UpdateDeviceCommand"), exports);
|
|
43
75
|
tslib_1.__exportStar(require("./UpdateGlobalNetworkCommand"), exports);
|
|
44
76
|
tslib_1.__exportStar(require("./UpdateLinkCommand"), exports);
|
|
45
77
|
tslib_1.__exportStar(require("./UpdateNetworkResourceMetadataCommand"), exports);
|
|
46
78
|
tslib_1.__exportStar(require("./UpdateSiteCommand"), exports);
|
|
79
|
+
tslib_1.__exportStar(require("./UpdateVpcAttachmentCommand"), exports);
|