@aws-sdk/client-networkmanager 3.183.0 → 3.185.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 +11 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/NetworkManager.js +349 -342
- package/dist-es/NetworkManagerClient.js +28 -22
- package/dist-es/commands/AcceptAttachmentCommand.js +28 -21
- package/dist-es/commands/AssociateConnectPeerCommand.js +28 -21
- package/dist-es/commands/AssociateCustomerGatewayCommand.js +28 -21
- package/dist-es/commands/AssociateLinkCommand.js +28 -21
- package/dist-es/commands/AssociateTransitGatewayConnectPeerCommand.js +28 -21
- package/dist-es/commands/CreateConnectAttachmentCommand.js +28 -21
- package/dist-es/commands/CreateConnectPeerCommand.js +28 -21
- package/dist-es/commands/CreateConnectionCommand.js +28 -21
- package/dist-es/commands/CreateCoreNetworkCommand.js +28 -21
- package/dist-es/commands/CreateDeviceCommand.js +28 -21
- package/dist-es/commands/CreateGlobalNetworkCommand.js +28 -21
- package/dist-es/commands/CreateLinkCommand.js +28 -21
- package/dist-es/commands/CreateSiteCommand.js +28 -21
- package/dist-es/commands/CreateSiteToSiteVpnAttachmentCommand.js +28 -21
- package/dist-es/commands/CreateTransitGatewayPeeringCommand.js +28 -21
- package/dist-es/commands/CreateTransitGatewayRouteTableAttachmentCommand.js +28 -21
- package/dist-es/commands/CreateVpcAttachmentCommand.js +28 -21
- package/dist-es/commands/DeleteAttachmentCommand.js +28 -21
- package/dist-es/commands/DeleteConnectPeerCommand.js +28 -21
- package/dist-es/commands/DeleteConnectionCommand.js +28 -21
- package/dist-es/commands/DeleteCoreNetworkCommand.js +28 -21
- package/dist-es/commands/DeleteCoreNetworkPolicyVersionCommand.js +28 -21
- package/dist-es/commands/DeleteDeviceCommand.js +28 -21
- package/dist-es/commands/DeleteGlobalNetworkCommand.js +28 -21
- package/dist-es/commands/DeleteLinkCommand.js +28 -21
- package/dist-es/commands/DeletePeeringCommand.js +28 -21
- package/dist-es/commands/DeleteResourcePolicyCommand.js +28 -21
- package/dist-es/commands/DeleteSiteCommand.js +28 -21
- package/dist-es/commands/DeregisterTransitGatewayCommand.js +28 -21
- package/dist-es/commands/DescribeGlobalNetworksCommand.js +28 -21
- package/dist-es/commands/DisassociateConnectPeerCommand.js +28 -21
- package/dist-es/commands/DisassociateCustomerGatewayCommand.js +28 -21
- package/dist-es/commands/DisassociateLinkCommand.js +28 -21
- package/dist-es/commands/DisassociateTransitGatewayConnectPeerCommand.js +28 -21
- package/dist-es/commands/ExecuteCoreNetworkChangeSetCommand.js +28 -21
- package/dist-es/commands/GetConnectAttachmentCommand.js +28 -21
- package/dist-es/commands/GetConnectPeerAssociationsCommand.js +28 -21
- package/dist-es/commands/GetConnectPeerCommand.js +28 -21
- package/dist-es/commands/GetConnectionsCommand.js +28 -21
- package/dist-es/commands/GetCoreNetworkChangeEventsCommand.js +28 -21
- package/dist-es/commands/GetCoreNetworkChangeSetCommand.js +28 -21
- package/dist-es/commands/GetCoreNetworkCommand.js +28 -21
- package/dist-es/commands/GetCoreNetworkPolicyCommand.js +28 -21
- package/dist-es/commands/GetCustomerGatewayAssociationsCommand.js +28 -21
- package/dist-es/commands/GetDevicesCommand.js +28 -21
- package/dist-es/commands/GetLinkAssociationsCommand.js +28 -21
- package/dist-es/commands/GetLinksCommand.js +28 -21
- package/dist-es/commands/GetNetworkResourceCountsCommand.js +28 -21
- package/dist-es/commands/GetNetworkResourceRelationshipsCommand.js +28 -21
- package/dist-es/commands/GetNetworkResourcesCommand.js +28 -21
- package/dist-es/commands/GetNetworkRoutesCommand.js +28 -21
- package/dist-es/commands/GetNetworkTelemetryCommand.js +28 -21
- package/dist-es/commands/GetResourcePolicyCommand.js +28 -21
- package/dist-es/commands/GetRouteAnalysisCommand.js +28 -21
- package/dist-es/commands/GetSiteToSiteVpnAttachmentCommand.js +28 -21
- package/dist-es/commands/GetSitesCommand.js +28 -21
- package/dist-es/commands/GetTransitGatewayConnectPeerAssociationsCommand.js +28 -21
- package/dist-es/commands/GetTransitGatewayPeeringCommand.js +28 -21
- package/dist-es/commands/GetTransitGatewayRegistrationsCommand.js +28 -21
- package/dist-es/commands/GetTransitGatewayRouteTableAttachmentCommand.js +28 -21
- package/dist-es/commands/GetVpcAttachmentCommand.js +28 -21
- package/dist-es/commands/ListAttachmentsCommand.js +28 -21
- package/dist-es/commands/ListConnectPeersCommand.js +28 -21
- package/dist-es/commands/ListCoreNetworkPolicyVersionsCommand.js +28 -21
- package/dist-es/commands/ListCoreNetworksCommand.js +28 -21
- package/dist-es/commands/ListOrganizationServiceAccessStatusCommand.js +28 -21
- package/dist-es/commands/ListPeeringsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/PutCoreNetworkPolicyCommand.js +28 -21
- package/dist-es/commands/PutResourcePolicyCommand.js +28 -21
- package/dist-es/commands/RegisterTransitGatewayCommand.js +28 -21
- package/dist-es/commands/RejectAttachmentCommand.js +28 -21
- package/dist-es/commands/RestoreCoreNetworkPolicyVersionCommand.js +28 -21
- package/dist-es/commands/StartOrganizationServiceAccessUpdateCommand.js +28 -21
- package/dist-es/commands/StartRouteAnalysisCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateConnectionCommand.js +28 -21
- package/dist-es/commands/UpdateCoreNetworkCommand.js +28 -21
- package/dist-es/commands/UpdateDeviceCommand.js +28 -21
- package/dist-es/commands/UpdateGlobalNetworkCommand.js +28 -21
- package/dist-es/commands/UpdateLinkCommand.js +28 -21
- package/dist-es/commands/UpdateNetworkResourceMetadataCommand.js +28 -21
- package/dist-es/commands/UpdateSiteCommand.js +28 -21
- package/dist-es/commands/UpdateVpcAttachmentCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/NetworkManagerServiceException.js +10 -5
- package/dist-es/models/models_0.js +341 -814
- package/dist-es/pagination/DescribeGlobalNetworksPaginator.js +68 -25
- package/dist-es/pagination/GetConnectPeerAssociationsPaginator.js +68 -25
- package/dist-es/pagination/GetConnectionsPaginator.js +68 -25
- package/dist-es/pagination/GetCoreNetworkChangeEventsPaginator.js +68 -25
- package/dist-es/pagination/GetCoreNetworkChangeSetPaginator.js +68 -25
- package/dist-es/pagination/GetCustomerGatewayAssociationsPaginator.js +68 -25
- package/dist-es/pagination/GetDevicesPaginator.js +68 -25
- package/dist-es/pagination/GetLinkAssociationsPaginator.js +68 -25
- package/dist-es/pagination/GetLinksPaginator.js +68 -25
- package/dist-es/pagination/GetNetworkResourceCountsPaginator.js +68 -25
- package/dist-es/pagination/GetNetworkResourceRelationshipsPaginator.js +68 -25
- package/dist-es/pagination/GetNetworkResourcesPaginator.js +68 -25
- package/dist-es/pagination/GetNetworkTelemetryPaginator.js +68 -25
- package/dist-es/pagination/GetSitesPaginator.js +68 -25
- package/dist-es/pagination/GetTransitGatewayConnectPeerAssociationsPaginator.js +68 -25
- package/dist-es/pagination/GetTransitGatewayRegistrationsPaginator.js +68 -25
- package/dist-es/pagination/ListAttachmentsPaginator.js +68 -25
- package/dist-es/pagination/ListConnectPeersPaginator.js +68 -25
- package/dist-es/pagination/ListCoreNetworkPolicyVersionsPaginator.js +68 -25
- package/dist-es/pagination/ListCoreNetworksPaginator.js +68 -25
- package/dist-es/pagination/ListPeeringsPaginator.js +68 -25
- package/dist-es/protocols/Aws_restJson1.js +8892 -6202
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
2
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
11
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
12
|
+
var NetworkManagerClient = (function (_super) {
|
|
13
|
+
__extends(NetworkManagerClient, _super);
|
|
14
|
+
function NetworkManagerClient(configuration) {
|
|
15
|
+
var _this = this;
|
|
16
|
+
var _config_0 = __getRuntimeConfig(configuration);
|
|
17
|
+
var _config_1 = resolveRegionConfig(_config_0);
|
|
18
|
+
var _config_2 = resolveEndpointsConfig(_config_1);
|
|
19
|
+
var _config_3 = resolveRetryConfig(_config_2);
|
|
20
|
+
var _config_4 = resolveHostHeaderConfig(_config_3);
|
|
21
|
+
var _config_5 = resolveAwsAuthConfig(_config_4);
|
|
22
|
+
var _config_6 = resolveUserAgentConfig(_config_5);
|
|
23
|
+
_this = _super.call(this, _config_6) || this;
|
|
24
|
+
_this.config = _config_6;
|
|
25
|
+
_this.middlewareStack.use(getRetryPlugin(_this.config));
|
|
26
|
+
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
27
|
+
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
28
|
+
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
30
|
+
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
+
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
+
return _this;
|
|
29
33
|
}
|
|
30
|
-
destroy() {
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
+
NetworkManagerClient.prototype.destroy = function () {
|
|
35
|
+
_super.prototype.destroy.call(this);
|
|
36
|
+
};
|
|
37
|
+
return NetworkManagerClient;
|
|
38
|
+
}(__Client));
|
|
39
|
+
export { NetworkManagerClient };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AcceptAttachmentRequestFilterSensitiveLog, AcceptAttachmentResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1AcceptAttachmentCommand, serializeAws_restJson1AcceptAttachmentCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AcceptAttachmentCommand = (function (_super) {
|
|
7
|
+
__extends(AcceptAttachmentCommand, _super);
|
|
8
|
+
function AcceptAttachmentCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AcceptAttachmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "NetworkManagerClient";
|
|
18
|
+
var commandName = "AcceptAttachmentCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AcceptAttachmentRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: AcceptAttachmentResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AcceptAttachmentCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1AcceptAttachmentCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AcceptAttachmentCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1AcceptAttachmentCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AcceptAttachmentCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AcceptAttachmentCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AssociateConnectPeerRequestFilterSensitiveLog, AssociateConnectPeerResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1AssociateConnectPeerCommand, serializeAws_restJson1AssociateConnectPeerCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AssociateConnectPeerCommand = (function (_super) {
|
|
7
|
+
__extends(AssociateConnectPeerCommand, _super);
|
|
8
|
+
function AssociateConnectPeerCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AssociateConnectPeerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "NetworkManagerClient";
|
|
18
|
+
var commandName = "AssociateConnectPeerCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AssociateConnectPeerRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: AssociateConnectPeerResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AssociateConnectPeerCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1AssociateConnectPeerCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AssociateConnectPeerCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1AssociateConnectPeerCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AssociateConnectPeerCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AssociateConnectPeerCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AssociateCustomerGatewayRequestFilterSensitiveLog, AssociateCustomerGatewayResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1AssociateCustomerGatewayCommand, serializeAws_restJson1AssociateCustomerGatewayCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AssociateCustomerGatewayCommand = (function (_super) {
|
|
7
|
+
__extends(AssociateCustomerGatewayCommand, _super);
|
|
8
|
+
function AssociateCustomerGatewayCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AssociateCustomerGatewayCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "NetworkManagerClient";
|
|
18
|
+
var commandName = "AssociateCustomerGatewayCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AssociateCustomerGatewayRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: AssociateCustomerGatewayResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AssociateCustomerGatewayCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1AssociateCustomerGatewayCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AssociateCustomerGatewayCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1AssociateCustomerGatewayCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AssociateCustomerGatewayCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AssociateCustomerGatewayCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AssociateLinkRequestFilterSensitiveLog, AssociateLinkResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1AssociateLinkCommand, serializeAws_restJson1AssociateLinkCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AssociateLinkCommand = (function (_super) {
|
|
7
|
+
__extends(AssociateLinkCommand, _super);
|
|
8
|
+
function AssociateLinkCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AssociateLinkCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "NetworkManagerClient";
|
|
18
|
+
var commandName = "AssociateLinkCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AssociateLinkRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: AssociateLinkResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AssociateLinkCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1AssociateLinkCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AssociateLinkCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1AssociateLinkCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AssociateLinkCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AssociateLinkCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AssociateTransitGatewayConnectPeerRequestFilterSensitiveLog, AssociateTransitGatewayConnectPeerResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1AssociateTransitGatewayConnectPeerCommand, serializeAws_restJson1AssociateTransitGatewayConnectPeerCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AssociateTransitGatewayConnectPeerCommand = (function (_super) {
|
|
7
|
+
__extends(AssociateTransitGatewayConnectPeerCommand, _super);
|
|
8
|
+
function AssociateTransitGatewayConnectPeerCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AssociateTransitGatewayConnectPeerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "NetworkManagerClient";
|
|
18
|
+
var commandName = "AssociateTransitGatewayConnectPeerCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AssociateTransitGatewayConnectPeerRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: AssociateTransitGatewayConnectPeerResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AssociateTransitGatewayConnectPeerCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1AssociateTransitGatewayConnectPeerCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AssociateTransitGatewayConnectPeerCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1AssociateTransitGatewayConnectPeerCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AssociateTransitGatewayConnectPeerCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AssociateTransitGatewayConnectPeerCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateConnectAttachmentRequestFilterSensitiveLog, CreateConnectAttachmentResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateConnectAttachmentCommand, serializeAws_restJson1CreateConnectAttachmentCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateConnectAttachmentCommand = (function (_super) {
|
|
7
|
+
__extends(CreateConnectAttachmentCommand, _super);
|
|
8
|
+
function CreateConnectAttachmentCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateConnectAttachmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "NetworkManagerClient";
|
|
18
|
+
var commandName = "CreateConnectAttachmentCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateConnectAttachmentRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateConnectAttachmentResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateConnectAttachmentCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateConnectAttachmentCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateConnectAttachmentCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateConnectAttachmentCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateConnectAttachmentCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateConnectAttachmentCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateConnectPeerRequestFilterSensitiveLog, CreateConnectPeerResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateConnectPeerCommand, serializeAws_restJson1CreateConnectPeerCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateConnectPeerCommand = (function (_super) {
|
|
7
|
+
__extends(CreateConnectPeerCommand, _super);
|
|
8
|
+
function CreateConnectPeerCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateConnectPeerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "NetworkManagerClient";
|
|
18
|
+
var commandName = "CreateConnectPeerCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateConnectPeerRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateConnectPeerResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateConnectPeerCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateConnectPeerCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateConnectPeerCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateConnectPeerCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateConnectPeerCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateConnectPeerCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateConnectionRequestFilterSensitiveLog, CreateConnectionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateConnectionCommand, serializeAws_restJson1CreateConnectionCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateConnectionCommand = (function (_super) {
|
|
7
|
+
__extends(CreateConnectionCommand, _super);
|
|
8
|
+
function CreateConnectionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateConnectionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "NetworkManagerClient";
|
|
18
|
+
var commandName = "CreateConnectionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateConnectionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateConnectionResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateConnectionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateConnectionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateConnectionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateConnectionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateConnectionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateConnectionCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateCoreNetworkRequestFilterSensitiveLog, CreateCoreNetworkResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateCoreNetworkCommand, serializeAws_restJson1CreateCoreNetworkCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateCoreNetworkCommand = (function (_super) {
|
|
7
|
+
__extends(CreateCoreNetworkCommand, _super);
|
|
8
|
+
function CreateCoreNetworkCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateCoreNetworkCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "NetworkManagerClient";
|
|
18
|
+
var commandName = "CreateCoreNetworkCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateCoreNetworkRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateCoreNetworkResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateCoreNetworkCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateCoreNetworkCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateCoreNetworkCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateCoreNetworkCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateCoreNetworkCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateCoreNetworkCommand };
|