@aws-sdk/client-networkmanager 3.185.0 → 3.188.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 +16 -0
- package/dist-es/NetworkManager.js +342 -349
- package/dist-es/NetworkManagerClient.js +22 -28
- package/dist-es/commands/AcceptAttachmentCommand.js +21 -28
- package/dist-es/commands/AssociateConnectPeerCommand.js +21 -28
- package/dist-es/commands/AssociateCustomerGatewayCommand.js +21 -28
- package/dist-es/commands/AssociateLinkCommand.js +21 -28
- package/dist-es/commands/AssociateTransitGatewayConnectPeerCommand.js +21 -28
- package/dist-es/commands/CreateConnectAttachmentCommand.js +21 -28
- package/dist-es/commands/CreateConnectPeerCommand.js +21 -28
- package/dist-es/commands/CreateConnectionCommand.js +21 -28
- package/dist-es/commands/CreateCoreNetworkCommand.js +21 -28
- package/dist-es/commands/CreateDeviceCommand.js +21 -28
- package/dist-es/commands/CreateGlobalNetworkCommand.js +21 -28
- package/dist-es/commands/CreateLinkCommand.js +21 -28
- package/dist-es/commands/CreateSiteCommand.js +21 -28
- package/dist-es/commands/CreateSiteToSiteVpnAttachmentCommand.js +21 -28
- package/dist-es/commands/CreateTransitGatewayPeeringCommand.js +21 -28
- package/dist-es/commands/CreateTransitGatewayRouteTableAttachmentCommand.js +21 -28
- package/dist-es/commands/CreateVpcAttachmentCommand.js +21 -28
- package/dist-es/commands/DeleteAttachmentCommand.js +21 -28
- package/dist-es/commands/DeleteConnectPeerCommand.js +21 -28
- package/dist-es/commands/DeleteConnectionCommand.js +21 -28
- package/dist-es/commands/DeleteCoreNetworkCommand.js +21 -28
- package/dist-es/commands/DeleteCoreNetworkPolicyVersionCommand.js +21 -28
- package/dist-es/commands/DeleteDeviceCommand.js +21 -28
- package/dist-es/commands/DeleteGlobalNetworkCommand.js +21 -28
- package/dist-es/commands/DeleteLinkCommand.js +21 -28
- package/dist-es/commands/DeletePeeringCommand.js +21 -28
- package/dist-es/commands/DeleteResourcePolicyCommand.js +21 -28
- package/dist-es/commands/DeleteSiteCommand.js +21 -28
- package/dist-es/commands/DeregisterTransitGatewayCommand.js +21 -28
- package/dist-es/commands/DescribeGlobalNetworksCommand.js +21 -28
- package/dist-es/commands/DisassociateConnectPeerCommand.js +21 -28
- package/dist-es/commands/DisassociateCustomerGatewayCommand.js +21 -28
- package/dist-es/commands/DisassociateLinkCommand.js +21 -28
- package/dist-es/commands/DisassociateTransitGatewayConnectPeerCommand.js +21 -28
- package/dist-es/commands/ExecuteCoreNetworkChangeSetCommand.js +21 -28
- package/dist-es/commands/GetConnectAttachmentCommand.js +21 -28
- package/dist-es/commands/GetConnectPeerAssociationsCommand.js +21 -28
- package/dist-es/commands/GetConnectPeerCommand.js +21 -28
- package/dist-es/commands/GetConnectionsCommand.js +21 -28
- package/dist-es/commands/GetCoreNetworkChangeEventsCommand.js +21 -28
- package/dist-es/commands/GetCoreNetworkChangeSetCommand.js +21 -28
- package/dist-es/commands/GetCoreNetworkCommand.js +21 -28
- package/dist-es/commands/GetCoreNetworkPolicyCommand.js +21 -28
- package/dist-es/commands/GetCustomerGatewayAssociationsCommand.js +21 -28
- package/dist-es/commands/GetDevicesCommand.js +21 -28
- package/dist-es/commands/GetLinkAssociationsCommand.js +21 -28
- package/dist-es/commands/GetLinksCommand.js +21 -28
- package/dist-es/commands/GetNetworkResourceCountsCommand.js +21 -28
- package/dist-es/commands/GetNetworkResourceRelationshipsCommand.js +21 -28
- package/dist-es/commands/GetNetworkResourcesCommand.js +21 -28
- package/dist-es/commands/GetNetworkRoutesCommand.js +21 -28
- package/dist-es/commands/GetNetworkTelemetryCommand.js +21 -28
- package/dist-es/commands/GetResourcePolicyCommand.js +21 -28
- package/dist-es/commands/GetRouteAnalysisCommand.js +21 -28
- package/dist-es/commands/GetSiteToSiteVpnAttachmentCommand.js +21 -28
- package/dist-es/commands/GetSitesCommand.js +21 -28
- package/dist-es/commands/GetTransitGatewayConnectPeerAssociationsCommand.js +21 -28
- package/dist-es/commands/GetTransitGatewayPeeringCommand.js +21 -28
- package/dist-es/commands/GetTransitGatewayRegistrationsCommand.js +21 -28
- package/dist-es/commands/GetTransitGatewayRouteTableAttachmentCommand.js +21 -28
- package/dist-es/commands/GetVpcAttachmentCommand.js +21 -28
- package/dist-es/commands/ListAttachmentsCommand.js +21 -28
- package/dist-es/commands/ListConnectPeersCommand.js +21 -28
- package/dist-es/commands/ListCoreNetworkPolicyVersionsCommand.js +21 -28
- package/dist-es/commands/ListCoreNetworksCommand.js +21 -28
- package/dist-es/commands/ListOrganizationServiceAccessStatusCommand.js +21 -28
- package/dist-es/commands/ListPeeringsCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/PutCoreNetworkPolicyCommand.js +21 -28
- package/dist-es/commands/PutResourcePolicyCommand.js +21 -28
- package/dist-es/commands/RegisterTransitGatewayCommand.js +21 -28
- package/dist-es/commands/RejectAttachmentCommand.js +21 -28
- package/dist-es/commands/RestoreCoreNetworkPolicyVersionCommand.js +21 -28
- package/dist-es/commands/StartOrganizationServiceAccessUpdateCommand.js +21 -28
- package/dist-es/commands/StartRouteAnalysisCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateConnectionCommand.js +21 -28
- package/dist-es/commands/UpdateCoreNetworkCommand.js +21 -28
- package/dist-es/commands/UpdateDeviceCommand.js +21 -28
- package/dist-es/commands/UpdateGlobalNetworkCommand.js +21 -28
- package/dist-es/commands/UpdateLinkCommand.js +21 -28
- package/dist-es/commands/UpdateNetworkResourceMetadataCommand.js +21 -28
- package/dist-es/commands/UpdateSiteCommand.js +21 -28
- package/dist-es/commands/UpdateVpcAttachmentCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/NetworkManagerServiceException.js +5 -10
- package/dist-es/models/models_0.js +814 -341
- package/dist-es/pagination/DescribeGlobalNetworksPaginator.js +25 -68
- package/dist-es/pagination/GetConnectPeerAssociationsPaginator.js +25 -68
- package/dist-es/pagination/GetConnectionsPaginator.js +25 -68
- package/dist-es/pagination/GetCoreNetworkChangeEventsPaginator.js +25 -68
- package/dist-es/pagination/GetCoreNetworkChangeSetPaginator.js +25 -68
- package/dist-es/pagination/GetCustomerGatewayAssociationsPaginator.js +25 -68
- package/dist-es/pagination/GetDevicesPaginator.js +25 -68
- package/dist-es/pagination/GetLinkAssociationsPaginator.js +25 -68
- package/dist-es/pagination/GetLinksPaginator.js +25 -68
- package/dist-es/pagination/GetNetworkResourceCountsPaginator.js +25 -68
- package/dist-es/pagination/GetNetworkResourceRelationshipsPaginator.js +25 -68
- package/dist-es/pagination/GetNetworkResourcesPaginator.js +25 -68
- package/dist-es/pagination/GetNetworkTelemetryPaginator.js +25 -68
- package/dist-es/pagination/GetSitesPaginator.js +25 -68
- package/dist-es/pagination/GetTransitGatewayConnectPeerAssociationsPaginator.js +25 -68
- package/dist-es/pagination/GetTransitGatewayRegistrationsPaginator.js +25 -68
- package/dist-es/pagination/ListAttachmentsPaginator.js +25 -68
- package/dist-es/pagination/ListConnectPeersPaginator.js +25 -68
- package/dist-es/pagination/ListCoreNetworkPolicyVersionsPaginator.js +25 -68
- package/dist-es/pagination/ListCoreNetworksPaginator.js +25 -68
- package/dist-es/pagination/ListPeeringsPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +6202 -8892
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { UpdateDeviceRequestFilterSensitiveLog, UpdateDeviceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1UpdateDeviceCommand, serializeAws_restJson1UpdateDeviceCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateDeviceCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "NetworkManagerClient";
|
|
15
|
+
const commandName = "UpdateDeviceCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateDeviceRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateDeviceResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateDeviceCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1UpdateDeviceCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1UpdateDeviceCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateDeviceCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { UpdateGlobalNetworkRequestFilterSensitiveLog, UpdateGlobalNetworkResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1UpdateGlobalNetworkCommand, serializeAws_restJson1UpdateGlobalNetworkCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateGlobalNetworkCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "NetworkManagerClient";
|
|
15
|
+
const commandName = "UpdateGlobalNetworkCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateGlobalNetworkRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateGlobalNetworkResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateGlobalNetworkCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1UpdateGlobalNetworkCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1UpdateGlobalNetworkCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateGlobalNetworkCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { UpdateLinkRequestFilterSensitiveLog, UpdateLinkResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1UpdateLinkCommand, serializeAws_restJson1UpdateLinkCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateLinkCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "NetworkManagerClient";
|
|
15
|
+
const commandName = "UpdateLinkCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateLinkRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateLinkResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateLinkCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1UpdateLinkCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1UpdateLinkCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateLinkCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { UpdateNetworkResourceMetadataRequestFilterSensitiveLog, UpdateNetworkResourceMetadataResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1UpdateNetworkResourceMetadataCommand, serializeAws_restJson1UpdateNetworkResourceMetadataCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateNetworkResourceMetadataCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "NetworkManagerClient";
|
|
15
|
+
const commandName = "UpdateNetworkResourceMetadataCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateNetworkResourceMetadataRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateNetworkResourceMetadataResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateNetworkResourceMetadataCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1UpdateNetworkResourceMetadataCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1UpdateNetworkResourceMetadataCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateNetworkResourceMetadataCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { UpdateSiteRequestFilterSensitiveLog, UpdateSiteResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1UpdateSiteCommand, serializeAws_restJson1UpdateSiteCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateSiteCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "NetworkManagerClient";
|
|
15
|
+
const commandName = "UpdateSiteCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateSiteRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateSiteResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateSiteCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1UpdateSiteCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1UpdateSiteCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateSiteCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { UpdateVpcAttachmentRequestFilterSensitiveLog, UpdateVpcAttachmentResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1UpdateVpcAttachmentCommand, serializeAws_restJson1UpdateVpcAttachmentCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateVpcAttachmentCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "NetworkManagerClient";
|
|
15
|
+
const commandName = "UpdateVpcAttachmentCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateVpcAttachmentRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateVpcAttachmentResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateVpcAttachmentCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1UpdateVpcAttachmentCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1UpdateVpcAttachmentCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateVpcAttachmentCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
1
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
|
-
|
|
2
|
+
const regionHash = {
|
|
4
3
|
"aws-global": {
|
|
5
4
|
variants: [
|
|
6
5
|
{
|
|
@@ -20,7 +19,7 @@ var regionHash = {
|
|
|
20
19
|
signingRegion: "us-gov-west-1",
|
|
21
20
|
},
|
|
22
21
|
};
|
|
23
|
-
|
|
22
|
+
const partitionHash = {
|
|
24
23
|
aws: {
|
|
25
24
|
regions: [
|
|
26
25
|
"af-south-1",
|
|
@@ -143,8 +142,9 @@ var partitionHash = {
|
|
|
143
142
|
endpoint: "aws-us-gov-global",
|
|
144
143
|
},
|
|
145
144
|
};
|
|
146
|
-
export
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
145
|
+
export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
|
|
146
|
+
...options,
|
|
147
|
+
signingService: "networkmanager",
|
|
148
|
+
regionHash,
|
|
149
|
+
partitionHash,
|
|
150
|
+
});
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Object.setPrototypeOf(_this, NetworkManagerServiceException.prototype);
|
|
8
|
-
return _this;
|
|
2
|
+
export class NetworkManagerServiceException extends __ServiceException {
|
|
3
|
+
constructor(options) {
|
|
4
|
+
super(options);
|
|
5
|
+
Object.setPrototypeOf(this, NetworkManagerServiceException.prototype);
|
|
9
6
|
}
|
|
10
|
-
|
|
11
|
-
}(__ServiceException));
|
|
12
|
-
export { NetworkManagerServiceException };
|
|
7
|
+
}
|