@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,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 { UpdateDeviceRequestFilterSensitiveLog, UpdateDeviceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1UpdateDeviceCommand, serializeAws_restJson1UpdateDeviceCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateDeviceCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateDeviceCommand, _super);
|
|
8
|
+
function UpdateDeviceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateDeviceCommand.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 = "UpdateDeviceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateDeviceRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateDeviceResponseFilterSensitiveLog,
|
|
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
|
+
UpdateDeviceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateDeviceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateDeviceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateDeviceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateDeviceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateDeviceCommand };
|
|
@@ -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 { UpdateGlobalNetworkRequestFilterSensitiveLog, UpdateGlobalNetworkResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1UpdateGlobalNetworkCommand, serializeAws_restJson1UpdateGlobalNetworkCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateGlobalNetworkCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateGlobalNetworkCommand, _super);
|
|
8
|
+
function UpdateGlobalNetworkCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateGlobalNetworkCommand.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 = "UpdateGlobalNetworkCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateGlobalNetworkRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateGlobalNetworkResponseFilterSensitiveLog,
|
|
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
|
+
UpdateGlobalNetworkCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateGlobalNetworkCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateGlobalNetworkCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateGlobalNetworkCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateGlobalNetworkCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateGlobalNetworkCommand };
|
|
@@ -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 { UpdateLinkRequestFilterSensitiveLog, UpdateLinkResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1UpdateLinkCommand, serializeAws_restJson1UpdateLinkCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateLinkCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateLinkCommand, _super);
|
|
8
|
+
function UpdateLinkCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateLinkCommand.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 = "UpdateLinkCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateLinkRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateLinkResponseFilterSensitiveLog,
|
|
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
|
+
UpdateLinkCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateLinkCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateLinkCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateLinkCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateLinkCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateLinkCommand };
|
|
@@ -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 { UpdateNetworkResourceMetadataRequestFilterSensitiveLog, UpdateNetworkResourceMetadataResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1UpdateNetworkResourceMetadataCommand, serializeAws_restJson1UpdateNetworkResourceMetadataCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateNetworkResourceMetadataCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateNetworkResourceMetadataCommand, _super);
|
|
8
|
+
function UpdateNetworkResourceMetadataCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateNetworkResourceMetadataCommand.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 = "UpdateNetworkResourceMetadataCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateNetworkResourceMetadataRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateNetworkResourceMetadataResponseFilterSensitiveLog,
|
|
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
|
+
UpdateNetworkResourceMetadataCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateNetworkResourceMetadataCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateNetworkResourceMetadataCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateNetworkResourceMetadataCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateNetworkResourceMetadataCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateNetworkResourceMetadataCommand };
|
|
@@ -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 { UpdateSiteRequestFilterSensitiveLog, UpdateSiteResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1UpdateSiteCommand, serializeAws_restJson1UpdateSiteCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateSiteCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateSiteCommand, _super);
|
|
8
|
+
function UpdateSiteCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateSiteCommand.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 = "UpdateSiteCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateSiteRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateSiteResponseFilterSensitiveLog,
|
|
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
|
+
UpdateSiteCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateSiteCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateSiteCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateSiteCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateSiteCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateSiteCommand };
|
|
@@ -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 { UpdateVpcAttachmentRequestFilterSensitiveLog, UpdateVpcAttachmentResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1UpdateVpcAttachmentCommand, serializeAws_restJson1UpdateVpcAttachmentCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateVpcAttachmentCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateVpcAttachmentCommand, _super);
|
|
8
|
+
function UpdateVpcAttachmentCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateVpcAttachmentCommand.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 = "UpdateVpcAttachmentCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateVpcAttachmentRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateVpcAttachmentResponseFilterSensitiveLog,
|
|
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
|
+
UpdateVpcAttachmentCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateVpcAttachmentCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateVpcAttachmentCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateVpcAttachmentCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateVpcAttachmentCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateVpcAttachmentCommand };
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
|
|
3
|
+
var regionHash = {
|
|
3
4
|
"aws-global": {
|
|
4
5
|
variants: [
|
|
5
6
|
{
|
|
@@ -19,7 +20,7 @@ const regionHash = {
|
|
|
19
20
|
signingRegion: "us-gov-west-1",
|
|
20
21
|
},
|
|
21
22
|
};
|
|
22
|
-
|
|
23
|
+
var partitionHash = {
|
|
23
24
|
aws: {
|
|
24
25
|
regions: [
|
|
25
26
|
"af-south-1",
|
|
@@ -142,9 +143,8 @@ const partitionHash = {
|
|
|
142
143
|
endpoint: "aws-us-gov-global",
|
|
143
144
|
},
|
|
144
145
|
};
|
|
145
|
-
export
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
});
|
|
146
|
+
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
147
|
+
return __generator(this, function (_a) {
|
|
148
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "networkmanager", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
149
|
+
});
|
|
150
|
+
}); };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
var NetworkManagerServiceException = (function (_super) {
|
|
4
|
+
__extends(NetworkManagerServiceException, _super);
|
|
5
|
+
function NetworkManagerServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, NetworkManagerServiceException.prototype);
|
|
8
|
+
return _this;
|
|
6
9
|
}
|
|
7
|
-
|
|
10
|
+
return NetworkManagerServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { NetworkManagerServiceException };
|