/var/runtime/node_modules/@aws-sdk/client-networkmanager/dist-cjs
This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.
"use strict";var __defProp = Object.defineProperty;var __getOwnPropDesc = Object.getOwnPropertyDescriptor;var __getOwnPropNames = Object.getOwnPropertyNames;var __hasOwnProp = Object.prototype.hasOwnProperty;var __name = (target, value) => __defProp(target, "name", { value, configurable: true });var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true });};var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to;};var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/index.tsvar index_exports = {};__export(index_exports, { AcceptAttachmentCommand: () => AcceptAttachmentCommand, AccessDeniedException: () => AccessDeniedException, AssociateConnectPeerCommand: () => AssociateConnectPeerCommand, AssociateCustomerGatewayCommand: () => AssociateCustomerGatewayCommand, AssociateLinkCommand: () => AssociateLinkCommand, AssociateTransitGatewayConnectPeerCommand: () => AssociateTransitGatewayConnectPeerCommand, AttachmentErrorCode: () => AttachmentErrorCode, AttachmentState: () => AttachmentState, AttachmentType: () => AttachmentType, ChangeAction: () => ChangeAction, ChangeSetState: () => ChangeSetState, ChangeStatus: () => ChangeStatus, ChangeType: () => ChangeType, ConflictException: () => ConflictException, ConnectPeerAssociationState: () => ConnectPeerAssociationState, ConnectPeerErrorCode: () => ConnectPeerErrorCode, ConnectPeerState: () => ConnectPeerState, ConnectionState: () => ConnectionState, ConnectionStatus: () => ConnectionStatus, ConnectionType: () => ConnectionType, CoreNetworkPolicyAlias: () => CoreNetworkPolicyAlias, CoreNetworkPolicyException: () => CoreNetworkPolicyException, CoreNetworkState: () => CoreNetworkState, CreateConnectAttachmentCommand: () => CreateConnectAttachmentCommand, CreateConnectPeerCommand: () => CreateConnectPeerCommand, CreateConnectionCommand: () => CreateConnectionCommand, CreateCoreNetworkCommand: () => CreateCoreNetworkCommand, CreateDeviceCommand: () => CreateDeviceCommand, CreateDeviceRequestFilterSensitiveLog: () => CreateDeviceRequestFilterSensitiveLog, CreateDeviceResponseFilterSensitiveLog: () => CreateDeviceResponseFilterSensitiveLog, CreateDirectConnectGatewayAttachmentCommand: () => CreateDirectConnectGatewayAttachmentCommand, CreateGlobalNetworkCommand: () => CreateGlobalNetworkCommand, CreateLinkCommand: () => CreateLinkCommand, CreateSiteCommand: () => CreateSiteCommand, CreateSiteRequestFilterSensitiveLog: () => CreateSiteRequestFilterSensitiveLog, CreateSiteResponseFilterSensitiveLog: () => CreateSiteResponseFilterSensitiveLog, CreateSiteToSiteVpnAttachmentCommand: () => CreateSiteToSiteVpnAttachmentCommand, CreateTransitGatewayPeeringCommand: () => CreateTransitGatewayPeeringCommand, CreateTransitGatewayRouteTableAttachmentCommand: () => CreateTransitGatewayRouteTableAttachmentCommand, CreateVpcAttachmentCommand: () => CreateVpcAttachmentCommand, CustomerGatewayAssociationState: () => CustomerGatewayAssociationState, DeleteAttachmentCommand: () => DeleteAttachmentCommand, DeleteConnectPeerCommand: () => DeleteConnectPeerCommand, DeleteConnectionCommand: () => DeleteConnectionCommand, DeleteCoreNetworkCommand: () => DeleteCoreNetworkCommand, DeleteCoreNetworkPolicyVersionCommand: () => DeleteCoreNetworkPolicyVersionCommand, DeleteDeviceCommand: () => DeleteDeviceCommand, DeleteDeviceResponseFilterSensitiveLog: () => DeleteDeviceResponseFilterSensitiveLog, DeleteGlobalNetworkCommand: () => DeleteGlobalNetworkCommand, DeleteLinkCommand: () => DeleteLinkCommand, DeletePeeringCommand: () => DeletePeeringCommand, DeleteResourcePolicyCommand: () => DeleteResourcePolicyCommand, DeleteSiteCommand: () => DeleteSiteCommand, DeleteSiteResponseFilterSensitiveLog: () => DeleteSiteResponseFilterSensitiveLog, DeregisterTransitGatewayCommand: () => DeregisterTransitGatewayCommand, DescribeGlobalNetworksCommand: () => DescribeGlobalNetworksCommand, DeviceFilterSensitiveLog: () => DeviceFilterSensitiveLog, DeviceState: () => DeviceState, DisassociateConnectPeerCommand: () => DisassociateConnectPeerCommand, DisassociateCustomerGatewayCommand: () => DisassociateCustomerGatewayCommand, DisassociateLinkCommand: () => DisassociateLinkCommand, DisassociateTransitGatewayConnectPeerCommand: () => DisassociateTransitGatewayConnectPeerCommand, ExecuteCoreNetworkChangeSetCommand: () => ExecuteCoreNetworkChangeSetCommand, GetConnectAttachmentCommand: () => GetConnectAttachmentCommand, GetConnectPeerAssociationsCommand: () => GetConnectPeerAssociationsCommand, GetConnectPeerCommand: () => GetConnectPeerCommand, GetConnectionsCommand: () => GetConnectionsCommand, GetCoreNetworkChangeEventsCommand: () => GetCoreNetworkChangeEventsCommand, GetCoreNetworkChangeSetCommand: () => GetCoreNetworkChangeSetCommand, GetCoreNetworkCommand: () => GetCoreNetworkCommand, GetCoreNetworkPolicyCommand: () => GetCoreNetworkPolicyCommand, GetCustomerGatewayAssociationsCommand: () => GetCustomerGatewayAssociationsCommand, GetDevicesCommand: () => GetDevicesCommand, GetDevicesResponseFilterSensitiveLog: () => GetDevicesResponseFilterSensitiveLog, GetDirectConnectGatewayAttachmentCommand: () => GetDirectConnectGatewayAttachmentCommand, GetLinkAssociationsCommand: () => GetLinkAssociationsCommand, GetLinksCommand: () => GetLinksCommand, GetNetworkResourceCountsCommand: () => GetNetworkResourceCountsCommand, GetNetworkResourceRelationshipsCommand: () => GetNetworkResourceRelationshipsCommand, GetNetworkResourcesCommand: () => GetNetworkResourcesCommand, GetNetworkRoutesCommand: () => GetNetworkRoutesCommand, GetNetworkTelemetryCommand: () => GetNetworkTelemetryCommand, GetResourcePolicyCommand: () => GetResourcePolicyCommand, GetRouteAnalysisCommand: () => GetRouteAnalysisCommand, GetSiteToSiteVpnAttachmentCommand: () => GetSiteToSiteVpnAttachmentCommand, GetSitesCommand: () => GetSitesCommand, GetSitesResponseFilterSensitiveLog: () => GetSitesResponseFilterSensitiveLog, GetTransitGatewayConnectPeerAssociationsCommand: () => GetTransitGatewayConnectPeerAssociationsCommand, GetTransitGatewayPeeringCommand: () => GetTransitGatewayPeeringCommand, GetTransitGatewayRegistrationsCommand: () => GetTransitGatewayRegistrationsCommand, GetTransitGatewayRouteTableAttachmentCommand: () => GetTransitGatewayRouteTableAttachmentCommand, GetVpcAttachmentCommand: () => GetVpcAttachmentCommand, GlobalNetworkState: () => GlobalNetworkState, InternalServerException: () => InternalServerException, LinkAssociationState: () => LinkAssociationState, LinkState: () => LinkState, ListAttachmentsCommand: () => ListAttachmentsCommand, ListConnectPeersCommand: () => ListConnectPeersCommand, ListCoreNetworkPolicyVersionsCommand: () => ListCoreNetworkPolicyVersionsCommand, ListCoreNetworksCommand: () => ListCoreNetworksCommand, ListOrganizationServiceAccessStatusCommand: () => ListOrganizationServiceAccessStatusCommand, ListPeeringsCommand: () => ListPeeringsCommand, ListTagsForResourceCommand: () => ListTagsForResourceCommand, LocationFilterSensitiveLog: () => LocationFilterSensitiveLog, NetworkManager: () => NetworkManager, NetworkManagerClient: () => NetworkManagerClient, NetworkManagerServiceException: () => NetworkManagerServiceException, PeeringErrorCode: () => PeeringErrorCode, PeeringState: () => PeeringState, PeeringType: () => PeeringType, PutCoreNetworkPolicyCommand: () => PutCoreNetworkPolicyCommand, PutResourcePolicyCommand: () => PutResourcePolicyCommand, RegisterTransitGatewayCommand: () => RegisterTransitGatewayCommand, RejectAttachmentCommand: () => RejectAttachmentCommand, ResourceNotFoundException: () => ResourceNotFoundException, RestoreCoreNetworkPolicyVersionCommand: () => RestoreCoreNetworkPolicyVersionCommand, RouteAnalysisCompletionReasonCode: () => RouteAnalysisCompletionReasonCode, RouteAnalysisCompletionResultCode: () => RouteAnalysisCompletionResultCode, RouteAnalysisStatus: () => RouteAnalysisStatus, RouteState: () => RouteState, RouteTableType: () => RouteTableType, RouteType: () => RouteType, SegmentActionServiceInsertion: () => SegmentActionServiceInsertion, SendViaMode: () => SendViaMode, ServiceQuotaExceededException: () => ServiceQuotaExceededException, SiteFilterSensitiveLog: () => SiteFilterSensitiveLog, SiteState: () => SiteState, StartOrganizationServiceAccessUpdateCommand: () => StartOrganizationServiceAccessUpdateCommand, StartRouteAnalysisCommand: () => StartRouteAnalysisCommand, TagResourceCommand: () => TagResourceCommand, ThrottlingException: () => ThrottlingException, TransitGatewayConnectPeerAssociationState: () => TransitGatewayConnectPeerAssociationState, TransitGatewayRegistrationState: () => TransitGatewayRegistrationState, TunnelProtocol: () => TunnelProtocol, UntagResourceCommand: () => UntagResourceCommand, UpdateConnectionCommand: () => UpdateConnectionCommand, UpdateCoreNetworkCommand: () => UpdateCoreNetworkCommand, UpdateDeviceCommand: () => UpdateDeviceCommand, UpdateDeviceRequestFilterSensitiveLog: () => UpdateDeviceRequestFilterSensitiveLog, UpdateDeviceResponseFilterSensitiveLog: () => UpdateDeviceResponseFilterSensitiveLog, UpdateDirectConnectGatewayAttachmentCommand: () => UpdateDirectConnectGatewayAttachmentCommand, UpdateGlobalNetworkCommand: () => UpdateGlobalNetworkCommand, UpdateLinkCommand: () => UpdateLinkCommand, UpdateNetworkResourceMetadataCommand: () => UpdateNetworkResourceMetadataCommand, UpdateSiteCommand: () => UpdateSiteCommand, UpdateSiteRequestFilterSensitiveLog: () => UpdateSiteRequestFilterSensitiveLog, UpdateSiteResponseFilterSensitiveLog: () => UpdateSiteResponseFilterSensitiveLog, UpdateVpcAttachmentCommand: () => UpdateVpcAttachmentCommand, ValidationException: () => ValidationException, ValidationExceptionReason: () => ValidationExceptionReason, __Client: () => import_smithy_client.Client, paginateDescribeGlobalNetworks: () => paginateDescribeGlobalNetworks, paginateGetConnectPeerAssociations: () => paginateGetConnectPeerAssociations, paginateGetConnections: () => paginateGetConnections, paginateGetCoreNetworkChangeEvents: () => paginateGetCoreNetworkChangeEvents, paginateGetCoreNetworkChangeSet: () => paginateGetCoreNetworkChangeSet, paginateGetCustomerGatewayAssociations: () => paginateGetCustomerGatewayAssociations, paginateGetDevices: () => paginateGetDevices, paginateGetLinkAssociations: () => paginateGetLinkAssociations, paginateGetLinks: () => paginateGetLinks, paginateGetNetworkResourceCounts: () => paginateGetNetworkResourceCounts, paginateGetNetworkResourceRelationships: () => paginateGetNetworkResourceRelationships, paginateGetNetworkResources: () => paginateGetNetworkResources, paginateGetNetworkTelemetry: () => paginateGetNetworkTelemetry, paginateGetSites: () => paginateGetSites, paginateGetTransitGatewayConnectPeerAssociations: () => paginateGetTransitGatewayConnectPeerAssociations, paginateGetTransitGatewayRegistrations: () => paginateGetTransitGatewayRegistrations, paginateListAttachments: () => paginateListAttachments, paginateListConnectPeers: () => paginateListConnectPeers, paginateListCoreNetworkPolicyVersions: () => paginateListCoreNetworkPolicyVersions, paginateListCoreNetworks: () => paginateListCoreNetworks, paginateListPeerings: () => paginateListPeerings});module.exports = __toCommonJS(index_exports); // src/NetworkManagerClient.tsvar import_middleware_host_header = require("@aws-sdk/middleware-host-header");var import_middleware_logger = require("@aws-sdk/middleware-logger");var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");var import_config_resolver = require("@smithy/config-resolver");var import_core = require("@smithy/core");var import_middleware_content_length = require("@smithy/middleware-content-length");var import_middleware_endpoint = require("@smithy/middleware-endpoint");var import_middleware_retry = require("@smithy/middleware-retry"); var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider"); // src/endpoint/EndpointParameters.tsvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "networkmanager" });}, "resolveClientEndpointParameters");var commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }}; // src/NetworkManagerClient.tsvar import_runtimeConfig = require("././runtimeConfig"); // src/runtimeExtensions.tsvar import_region_config_resolver = require("@aws-sdk/region-config-resolver");var import_protocol_http = require("@smithy/protocol-http");var import_smithy_client = require("@smithy/smithy-client"); // src/auth/httpAuthExtensionConfiguration.tsvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => { const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; let _credentials = runtimeConfig.credentials; return { setHttpAuthScheme(httpAuthScheme) { const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); if (index === -1) { _httpAuthSchemes.push(httpAuthScheme); } else { _httpAuthSchemes.splice(index, 1, httpAuthScheme); } }, httpAuthSchemes() { return _httpAuthSchemes; }, setHttpAuthSchemeProvider(httpAuthSchemeProvider) { _httpAuthSchemeProvider = httpAuthSchemeProvider; }, httpAuthSchemeProvider() { return _httpAuthSchemeProvider; }, setCredentials(credentials) { _credentials = credentials; }, credentials() { return _credentials; } };}, "getHttpAuthExtensionConfiguration");var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => { return { httpAuthSchemes: config.httpAuthSchemes(), httpAuthSchemeProvider: config.httpAuthSchemeProvider(), credentials: config.credentials() };}, "resolveHttpAuthRuntimeConfig"); // src/runtimeExtensions.tsvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => { const extensionConfiguration = Object.assign( (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig), (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig) ); extensions.forEach((extension) => extension.configure(extensionConfiguration)); return Object.assign( runtimeConfig, (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration) );}, "resolveRuntimeExtensions"); // src/NetworkManagerClient.tsvar NetworkManagerClient = class extends import_smithy_client.Client { static { __name(this, "NetworkManagerClient"); } /** * The resolved configuration of NetworkManagerClient class. This is resolved and normalized from the {@link NetworkManagerClientConfig | constructor configuration interface}. */ config; constructor(...[configuration]) { const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {}); super(_config_0); this.initConfig = _config_0; const _config_1 = resolveClientEndpointParameters(_config_0); const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1); const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2); const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3); const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4); const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5); const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6); const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); this.config = _config_8; this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config)); this.middlewareStack.use( (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, { httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultNetworkManagerHttpAuthSchemeParametersProvider, identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials }), "identityProviderConfigProvider") }) ); this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config)); } /** * Destroy underlying resources, like sockets. It's usually not necessary to do this. * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. * Otherwise, sockets might stay open for quite a long time before the server terminates them. */ destroy() { super.destroy(); }}; // src/NetworkManager.ts // src/commands/AcceptAttachmentCommand.ts var import_middleware_serde = require("@smithy/middleware-serde"); // src/protocols/Aws_restJson1.tsvar import_core2 = require("@aws-sdk/core"); var import_uuid = require("uuid"); // src/models/models_0.ts // src/models/NetworkManagerServiceException.ts var NetworkManagerServiceException = class _NetworkManagerServiceException extends import_smithy_client.ServiceException { static { __name(this, "NetworkManagerServiceException"); } /** * @internal */ constructor(options) { super(options); Object.setPrototypeOf(this, _NetworkManagerServiceException.prototype); }}; // src/models/models_0.tsvar AttachmentType = { CONNECT: "CONNECT", DIRECT_CONNECT_GATEWAY: "DIRECT_CONNECT_GATEWAY", SITE_TO_SITE_VPN: "SITE_TO_SITE_VPN", TRANSIT_GATEWAY_ROUTE_TABLE: "TRANSIT_GATEWAY_ROUTE_TABLE", VPC: "VPC"};var AttachmentErrorCode = { DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS: "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", DIRECT_CONNECT_GATEWAY_NOT_FOUND: "DIRECT_CONNECT_GATEWAY_NOT_FOUND", DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF: "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED: "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE: "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", SUBNET_NOT_FOUND: "SUBNET_NOT_FOUND", SUBNET_NO_FREE_ADDRESSES: "SUBNET_NO_FREE_ADDRESSES", SUBNET_NO_IPV6_CIDRS: "SUBNET_NO_IPV6_CIDRS", SUBNET_UNSUPPORTED_AVAILABILITY_ZONE: "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", VPC_NOT_FOUND: "VPC_NOT_FOUND", VPN_CONNECTION_NOT_FOUND: "VPN_CONNECTION_NOT_FOUND"};var AttachmentState = { AVAILABLE: "AVAILABLE", CREATING: "CREATING", DELETING: "DELETING", FAILED: "FAILED", PENDING_ATTACHMENT_ACCEPTANCE: "PENDING_ATTACHMENT_ACCEPTANCE", PENDING_NETWORK_UPDATE: "PENDING_NETWORK_UPDATE", PENDING_TAG_ACCEPTANCE: "PENDING_TAG_ACCEPTANCE", REJECTED: "REJECTED", UPDATING: "UPDATING"};var AccessDeniedException = class _AccessDeniedException extends NetworkManagerServiceException { static { __name(this, "AccessDeniedException"); } name = "AccessDeniedException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "AccessDeniedException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _AccessDeniedException.prototype); this.Message = opts.Message; }};var ConflictException = class _ConflictException extends NetworkManagerServiceException { static { __name(this, "ConflictException"); } name = "ConflictException"; $fault = "client"; Message; /** * <p>The ID of the resource.</p> * @public */ ResourceId; /** * <p>The resource type.</p> * @public */ ResourceType; /** * @internal */ constructor(opts) { super({ name: "ConflictException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ConflictException.prototype); this.Message = opts.Message; this.ResourceId = opts.ResourceId; this.ResourceType = opts.ResourceType; }};var InternalServerException = class _InternalServerException extends NetworkManagerServiceException { static { __name(this, "InternalServerException"); } name = "InternalServerException"; $fault = "server"; Message; /** * <p>Indicates when to retry the request.</p> * @public */ RetryAfterSeconds; /** * @internal */ constructor(opts) { super({ name: "InternalServerException", $fault: "server", ...opts }); Object.setPrototypeOf(this, _InternalServerException.prototype); this.Message = opts.Message; this.RetryAfterSeconds = opts.RetryAfterSeconds; }};var ResourceNotFoundException = class _ResourceNotFoundException extends NetworkManagerServiceException { static { __name(this, "ResourceNotFoundException"); } name = "ResourceNotFoundException"; $fault = "client"; Message; /** * <p>The ID of the resource.</p> * @public */ ResourceId; /** * <p>The resource type.</p> * @public */ ResourceType; /** * <p>The specified resource could not be found.</p> * @public */ Context; /** * @internal */ constructor(opts) { super({ name: "ResourceNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourceNotFoundException.prototype); this.Message = opts.Message; this.ResourceId = opts.ResourceId; this.ResourceType = opts.ResourceType; this.Context = opts.Context; }};var ThrottlingException = class _ThrottlingException extends NetworkManagerServiceException { static { __name(this, "ThrottlingException"); } name = "ThrottlingException"; $fault = "client"; Message; /** * <p>Indicates when to retry the request.</p> * @public */ RetryAfterSeconds; /** * @internal */ constructor(opts) { super({ name: "ThrottlingException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ThrottlingException.prototype); this.Message = opts.Message; this.RetryAfterSeconds = opts.RetryAfterSeconds; }};var ValidationExceptionReason = { CANNOT_PARSE: "CannotParse", FIELD_VALIDATION_FAILED: "FieldValidationFailed", OTHER: "Other", UNKNOWN_OPERATION: "UnknownOperation"};var ValidationException = class _ValidationException extends NetworkManagerServiceException { static { __name(this, "ValidationException"); } name = "ValidationException"; $fault = "client"; Message; /** * <p>The reason for the error.</p> * @public */ Reason; /** * <p>The fields that caused the error, if applicable.</p> * @public */ Fields; /** * @internal */ constructor(opts) { super({ name: "ValidationException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ValidationException.prototype); this.Message = opts.Message; this.Reason = opts.Reason; this.Fields = opts.Fields; }};var ConnectPeerAssociationState = { available: "AVAILABLE", deleted: "DELETED", deleting: "DELETING", pending: "PENDING"};var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends NetworkManagerServiceException { static { __name(this, "ServiceQuotaExceededException"); } name = "ServiceQuotaExceededException"; $fault = "client"; /** * <p>The error message.</p> * @public */ Message; /** * <p>The ID of the resource.</p> * @public */ ResourceId; /** * <p>The resource type.</p> * @public */ ResourceType; /** * <p>The limit code.</p> * @public */ LimitCode; /** * <p>The service code.</p> * @public */ ServiceCode; /** * @internal */ constructor(opts) { super({ name: "ServiceQuotaExceededException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype); this.Message = opts.Message; this.ResourceId = opts.ResourceId; this.ResourceType = opts.ResourceType; this.LimitCode = opts.LimitCode; this.ServiceCode = opts.ServiceCode; }};var CustomerGatewayAssociationState = { available: "AVAILABLE", deleted: "DELETED", deleting: "DELETING", pending: "PENDING"};var LinkAssociationState = { available: "AVAILABLE", deleted: "DELETED", deleting: "DELETING", pending: "PENDING"};var TransitGatewayConnectPeerAssociationState = { available: "AVAILABLE", deleted: "DELETED", deleting: "DELETING", pending: "PENDING"};var ChangeAction = { ADD: "ADD", MODIFY: "MODIFY", REMOVE: "REMOVE"};var ChangeSetState = { EXECUTING: "EXECUTING", EXECUTION_SUCCEEDED: "EXECUTION_SUCCEEDED", FAILED_GENERATION: "FAILED_GENERATION", OUT_OF_DATE: "OUT_OF_DATE", PENDING_GENERATION: "PENDING_GENERATION", READY_TO_EXECUTE: "READY_TO_EXECUTE"};var ChangeStatus = { COMPLETE: "COMPLETE", FAILED: "FAILED", IN_PROGRESS: "IN_PROGRESS", NOT_STARTED: "NOT_STARTED"};var ChangeType = { ATTACHMENT_MAPPING: "ATTACHMENT_MAPPING", ATTACHMENT_POLICIES_CONFIGURATION: "ATTACHMENT_POLICIES_CONFIGURATION", ATTACHMENT_ROUTE_PROPAGATION: "ATTACHMENT_ROUTE_PROPAGATION", ATTACHMENT_ROUTE_STATIC: "ATTACHMENT_ROUTE_STATIC", CORE_NETWORK_CONFIGURATION: "CORE_NETWORK_CONFIGURATION", CORE_NETWORK_EDGE: "CORE_NETWORK_EDGE", CORE_NETWORK_SEGMENT: "CORE_NETWORK_SEGMENT", NETWORK_FUNCTION_GROUP: "NETWORK_FUNCTION_GROUP", SEGMENTS_CONFIGURATION: "SEGMENTS_CONFIGURATION", SEGMENT_ACTIONS_CONFIGURATION: "SEGMENT_ACTIONS_CONFIGURATION"};var TunnelProtocol = { GRE: "GRE", NO_ENCAP: "NO_ENCAP"};var ConnectionState = { available: "AVAILABLE", deleting: "DELETING", pending: "PENDING", updating: "UPDATING"};var ConnectionStatus = { DOWN: "DOWN", UP: "UP"};var ConnectionType = { BGP: "BGP", IPSEC: "IPSEC"};var ConnectPeerErrorCode = { EDGE_LOCATION_NO_FREE_IPS: "EDGE_LOCATION_NO_FREE_IPS", EDGE_LOCATION_PEER_DUPLICATE: "EDGE_LOCATION_PEER_DUPLICATE", INVALID_INSIDE_CIDR_BLOCK: "INVALID_INSIDE_CIDR_BLOCK", IP_OUTSIDE_SUBNET_CIDR_RANGE: "IP_OUTSIDE_SUBNET_CIDR_RANGE", NO_ASSOCIATED_CIDR_BLOCK: "NO_ASSOCIATED_CIDR_BLOCK", SUBNET_NOT_FOUND: "SUBNET_NOT_FOUND"};var ConnectPeerState = { AVAILABLE: "AVAILABLE", CREATING: "CREATING", DELETING: "DELETING", FAILED: "FAILED"};var CoreNetworkState = { AVAILABLE: "AVAILABLE", CREATING: "CREATING", DELETING: "DELETING", UPDATING: "UPDATING"};var SegmentActionServiceInsertion = { SEND_TO: "send-to", SEND_VIA: "send-via"};var SendViaMode = { DUAL_HOP: "dual-hop", SINGLE_HOP: "single-hop"};var CoreNetworkPolicyAlias = { LATEST: "LATEST", LIVE: "LIVE"};var CoreNetworkPolicyException = class _CoreNetworkPolicyException extends NetworkManagerServiceException { static { __name(this, "CoreNetworkPolicyException"); } name = "CoreNetworkPolicyException"; $fault = "client"; Message; /** * <p>Describes a core network policy exception.</p> * @public */ Errors; /** * @internal */ constructor(opts) { super({ name: "CoreNetworkPolicyException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _CoreNetworkPolicyException.prototype); this.Message = opts.Message; this.Errors = opts.Errors; }};var DeviceState = { available: "AVAILABLE", deleting: "DELETING", pending: "PENDING", updating: "UPDATING"};var GlobalNetworkState = { available: "AVAILABLE", deleting: "DELETING", pending: "PENDING", updating: "UPDATING"};var LinkState = { available: "AVAILABLE", deleting: "DELETING", pending: "PENDING", updating: "UPDATING"};var SiteState = { available: "AVAILABLE", deleting: "DELETING", pending: "PENDING", updating: "UPDATING"};var PeeringErrorCode = { EDGE_LOCATION_PEER_DUPLICATE: "EDGE_LOCATION_PEER_DUPLICATE", INTERNAL_ERROR: "INTERNAL_ERROR", INVALID_TRANSIT_GATEWAY_STATE: "INVALID_TRANSIT_GATEWAY_STATE", MISSING_REQUIRED_PERMISSIONS: "MISSING_PERMISSIONS", TRANSIT_GATEWAY_NOT_FOUND: "TRANSIT_GATEWAY_NOT_FOUND", TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED: "TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED"};var PeeringType = { TRANSIT_GATEWAY: "TRANSIT_GATEWAY"};var PeeringState = { AVAILABLE: "AVAILABLE", CREATING: "CREATING", DELETING: "DELETING", FAILED: "FAILED"};var TransitGatewayRegistrationState = { available: "AVAILABLE", deleted: "DELETED", deleting: "DELETING", failed: "FAILED", pending: "PENDING"};var RouteState = { ACTIVE: "ACTIVE", BLACKHOLE: "BLACKHOLE"};var RouteType = { PROPAGATED: "PROPAGATED", STATIC: "STATIC"};var RouteTableType = { CORE_NETWORK_SEGMENT: "CORE_NETWORK_SEGMENT", NETWORK_FUNCTION_GROUP: "NETWORK_FUNCTION_GROUP", TRANSIT_GATEWAY_ROUTE_TABLE: "TRANSIT_GATEWAY_ROUTE_TABLE"};var RouteAnalysisCompletionReasonCode = { BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND: "BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND", CYCLIC_PATH_DETECTED: "CYCLIC_PATH_DETECTED", INACTIVE_ROUTE_FOR_DESTINATION_FOUND: "INACTIVE_ROUTE_FOR_DESTINATION_FOUND", MAX_HOPS_EXCEEDED: "MAX_HOPS_EXCEEDED", NO_DESTINATION_ARN_PROVIDED: "NO_DESTINATION_ARN_PROVIDED", POSSIBLE_MIDDLEBOX: "POSSIBLE_MIDDLEBOX", ROUTE_NOT_FOUND: "ROUTE_NOT_FOUND", TRANSIT_GATEWAY_ATTACHMENT: "TRANSIT_GATEWAY_ATTACHMENT_ATTACH_ARN_NO_MATCH", TRANSIT_GATEWAY_ATTACHMENT_NOT_FOUND: "TRANSIT_GATEWAY_ATTACHMENT_NOT_FOUND", TRANSIT_GATEWAY_ATTACHMENT_NOT_IN_TRANSIT_GATEWAY: "TRANSIT_GATEWAY_ATTACHMENT_NOT_IN_TRANSIT_GATEWAY", TRANSIT_GATEWAY_ATTACHMENT_STABLE_ROUTE_TABLE_NOT_FOUND: "TRANSIT_GATEWAY_ATTACHMENT_STABLE_ROUTE_TABLE_NOT_FOUND"};var RouteAnalysisCompletionResultCode = { CONNECTED: "CONNECTED", NOT_CONNECTED: "NOT_CONNECTED"};var RouteAnalysisStatus = { completed: "COMPLETED", failed: "FAILED", running: "RUNNING"};var LocationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj}), "LocationFilterSensitiveLog");var CreateDeviceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Location && { Location: import_smithy_client.SENSITIVE_STRING }}), "CreateDeviceRequestFilterSensitiveLog");var DeviceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Location && { Location: import_smithy_client.SENSITIVE_STRING }}), "DeviceFilterSensitiveLog");var CreateDeviceResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Device && { Device: DeviceFilterSensitiveLog(obj.Device) }}), "CreateDeviceResponseFilterSensitiveLog");var CreateSiteRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Location && { Location: import_smithy_client.SENSITIVE_STRING }}), "CreateSiteRequestFilterSensitiveLog");var SiteFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Location && { Location: import_smithy_client.SENSITIVE_STRING }}), "SiteFilterSensitiveLog");var CreateSiteResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Site && { Site: SiteFilterSensitiveLog(obj.Site) }}), "CreateSiteResponseFilterSensitiveLog");var DeleteDeviceResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Device && { Device: DeviceFilterSensitiveLog(obj.Device) }}), "DeleteDeviceResponseFilterSensitiveLog");var DeleteSiteResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Site && { Site: SiteFilterSensitiveLog(obj.Site) }}), "DeleteSiteResponseFilterSensitiveLog");var GetDevicesResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Devices && { Devices: obj.Devices.map((item) => DeviceFilterSensitiveLog(item)) }}), "GetDevicesResponseFilterSensitiveLog");var GetSitesResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Sites && { Sites: obj.Sites.map((item) => SiteFilterSensitiveLog(item)) }}), "GetSitesResponseFilterSensitiveLog");var UpdateDeviceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Location && { Location: import_smithy_client.SENSITIVE_STRING }}), "UpdateDeviceRequestFilterSensitiveLog");var UpdateDeviceResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Device && { Device: DeviceFilterSensitiveLog(obj.Device) }}), "UpdateDeviceResponseFilterSensitiveLog");var UpdateSiteRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Location && { Location: import_smithy_client.SENSITIVE_STRING }}), "UpdateSiteRequestFilterSensitiveLog");var UpdateSiteResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Site && { Site: SiteFilterSensitiveLog(obj.Site) }}), "UpdateSiteResponseFilterSensitiveLog"); // src/protocols/Aws_restJson1.tsvar se_AcceptAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/attachments/{AttachmentId}/accept"); b.p("AttachmentId", () => input.AttachmentId, "{AttachmentId}", false); let body; b.m("POST").h(headers).b(body); return b.build();}, "se_AcceptAttachmentCommand");var se_AssociateConnectPeerCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/global-networks/{GlobalNetworkId}/connect-peer-associations"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { ConnectPeerId: [], DeviceId: [], LinkId: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_AssociateConnectPeerCommand");var se_AssociateCustomerGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/global-networks/{GlobalNetworkId}/customer-gateway-associations"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { CustomerGatewayArn: [], DeviceId: [], LinkId: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_AssociateCustomerGatewayCommand");var se_AssociateLinkCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/global-networks/{GlobalNetworkId}/link-associations"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { DeviceId: [], LinkId: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_AssociateLinkCommand");var se_AssociateTransitGatewayConnectPeerCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/global-networks/{GlobalNetworkId}/transit-gateway-connect-peer-associations"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { DeviceId: [], LinkId: [], TransitGatewayConnectPeerArn: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_AssociateTransitGatewayConnectPeerCommand");var se_CreateConnectAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/connect-attachments"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()], CoreNetworkId: [], EdgeLocation: [], Options: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Options"), Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"), TransportAttachmentId: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateConnectAttachmentCommand");var se_CreateConnectionCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/global-networks/{GlobalNetworkId}/connections"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { ConnectedDeviceId: [], ConnectedLinkId: [], Description: [], DeviceId: [], LinkId: [], Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateConnectionCommand");var se_CreateConnectPeerCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/connect-peers"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { BgpOptions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "BgpOptions"), ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()], ConnectAttachmentId: [], CoreNetworkAddress: [], InsideCidrBlocks: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "InsideCidrBlocks"), PeerAddress: [], SubnetArn: [], Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateConnectPeerCommand");var se_CreateCoreNetworkCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/core-networks"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()], Description: [], GlobalNetworkId: [], PolicyDocument: [], Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateCoreNetworkCommand");var se_CreateDeviceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/global-networks/{GlobalNetworkId}/devices"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { AWSLocation: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AWSLocation"), Description: [], Location: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Location"), Model: [], SerialNumber: [], SiteId: [], Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"), Type: [], Vendor: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateDeviceCommand");var se_CreateDirectConnectGatewayAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/direct-connect-gateway-attachments"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()], CoreNetworkId: [], DirectConnectGatewayArn: [], EdgeLocations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "EdgeLocations"), Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateDirectConnectGatewayAttachmentCommand");var se_CreateGlobalNetworkCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/global-networks"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Description: [], Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateGlobalNetworkCommand");var se_CreateLinkCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/global-networks/{GlobalNetworkId}/links"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Bandwidth: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Bandwidth"), Description: [], Provider: [], SiteId: [], Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"), Type: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateLinkCommand");var se_CreateSiteCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/global-networks/{GlobalNetworkId}/sites"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Description: [], Location: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Location"), Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateSiteCommand");var se_CreateSiteToSiteVpnAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/site-to-site-vpn-attachments"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()], CoreNetworkId: [], Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"), VpnConnectionArn: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateSiteToSiteVpnAttachmentCommand");var se_CreateTransitGatewayPeeringCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/transit-gateway-peerings"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()], CoreNetworkId: [], Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"), TransitGatewayArn: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateTransitGatewayPeeringCommand");var se_CreateTransitGatewayRouteTableAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/transit-gateway-route-table-attachments"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()], PeeringId: [], Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"), TransitGatewayRouteTableArn: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateTransitGatewayRouteTableAttachmentCommand");var se_CreateVpcAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/vpc-attachments"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()], CoreNetworkId: [], Options: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Options"), SubnetArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SubnetArns"), Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"), VpcArn: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateVpcAttachmentCommand");var se_DeleteAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/attachments/{AttachmentId}"); b.p("AttachmentId", () => input.AttachmentId, "{AttachmentId}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteAttachmentCommand");var se_DeleteConnectionCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/global-networks/{GlobalNetworkId}/connections/{ConnectionId}"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); b.p("ConnectionId", () => input.ConnectionId, "{ConnectionId}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteConnectionCommand");var se_DeleteConnectPeerCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/connect-peers/{ConnectPeerId}"); b.p("ConnectPeerId", () => input.ConnectPeerId, "{ConnectPeerId}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteConnectPeerCommand");var se_DeleteCoreNetworkCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/core-networks/{CoreNetworkId}"); b.p("CoreNetworkId", () => input.CoreNetworkId, "{CoreNetworkId}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteCoreNetworkCommand");var se_DeleteCoreNetworkPolicyVersionCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/core-networks/{CoreNetworkId}/core-network-policy-versions/{PolicyVersionId}"); b.p("CoreNetworkId", () => input.CoreNetworkId, "{CoreNetworkId}", false); b.p("PolicyVersionId", () => input.PolicyVersionId.toString(), "{PolicyVersionId}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteCoreNetworkPolicyVersionCommand");var se_DeleteDeviceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/global-networks/{GlobalNetworkId}/devices/{DeviceId}"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); b.p("DeviceId", () => input.DeviceId, "{DeviceId}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteDeviceCommand");var se_DeleteGlobalNetworkCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/global-networks/{GlobalNetworkId}"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteGlobalNetworkCommand");var se_DeleteLinkCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/global-networks/{GlobalNetworkId}/links/{LinkId}"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); b.p("LinkId", () => input.LinkId, "{LinkId}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteLinkCommand");var se_DeletePeeringCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/peerings/{PeeringId}"); b.p("PeeringId", () => input.PeeringId, "{PeeringId}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeletePeeringCommand");var se_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/resource-policy/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteResourcePolicyCommand");var se_DeleteSiteCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/global-networks/{GlobalNetworkId}/sites/{SiteId}"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); b.p("SiteId", () => input.SiteId, "{SiteId}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteSiteCommand");var se_DeregisterTransitGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/global-networks/{GlobalNetworkId}/transit-gateway-registrations/{TransitGatewayArn}"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); b.p("TransitGatewayArn", () => input.TransitGatewayArn, "{TransitGatewayArn}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeregisterTransitGatewayCommand");var se_DescribeGlobalNetworksCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/global-networks"); const query = (0, import_smithy_client.map)({ [_gNI]: [() => input.GlobalNetworkIds !== void 0, () => input[_GNI] || []], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_DescribeGlobalNetworksCommand");var se_DisassociateConnectPeerCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/global-networks/{GlobalNetworkId}/connect-peer-associations/{ConnectPeerId}"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); b.p("ConnectPeerId", () => input.ConnectPeerId, "{ConnectPeerId}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DisassociateConnectPeerCommand");var se_DisassociateCustomerGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/global-networks/{GlobalNetworkId}/customer-gateway-associations/{CustomerGatewayArn}"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); b.p("CustomerGatewayArn", () => input.CustomerGatewayArn, "{CustomerGatewayArn}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DisassociateCustomerGatewayCommand");var se_DisassociateLinkCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/global-networks/{GlobalNetworkId}/link-associations"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); const query = (0, import_smithy_client.map)({ [_dI]: [, (0, import_smithy_client.expectNonNull)(input[_DI], `DeviceId`)], [_lI]: [, (0, import_smithy_client.expectNonNull)(input[_LI], `LinkId`)] }); let body; b.m("DELETE").h(headers).q(query).b(body); return b.build();}, "se_DisassociateLinkCommand");var se_DisassociateTransitGatewayConnectPeerCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/global-networks/{GlobalNetworkId}/transit-gateway-connect-peer-associations/{TransitGatewayConnectPeerArn}"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); b.p( "TransitGatewayConnectPeerArn", () => input.TransitGatewayConnectPeerArn, "{TransitGatewayConnectPeerArn}", false ); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DisassociateTransitGatewayConnectPeerCommand");var se_ExecuteCoreNetworkChangeSetCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/core-networks/{CoreNetworkId}/core-network-change-sets/{PolicyVersionId}/execute"); b.p("CoreNetworkId", () => input.CoreNetworkId, "{CoreNetworkId}", false); b.p("PolicyVersionId", () => input.PolicyVersionId.toString(), "{PolicyVersionId}", false); let body; b.m("POST").h(headers).b(body); return b.build();}, "se_ExecuteCoreNetworkChangeSetCommand");var se_GetConnectAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/connect-attachments/{AttachmentId}"); b.p("AttachmentId", () => input.AttachmentId, "{AttachmentId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetConnectAttachmentCommand");var se_GetConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/global-networks/{GlobalNetworkId}/connections"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); const query = (0, import_smithy_client.map)({ [_cI]: [() => input.ConnectionIds !== void 0, () => input[_CI] || []], [_dI]: [, input[_DI]], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_GetConnectionsCommand");var se_GetConnectPeerCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/connect-peers/{ConnectPeerId}"); b.p("ConnectPeerId", () => input.ConnectPeerId, "{ConnectPeerId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetConnectPeerCommand");var se_GetConnectPeerAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/global-networks/{GlobalNetworkId}/connect-peer-associations"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); const query = (0, import_smithy_client.map)({ [_cPI]: [() => input.ConnectPeerIds !== void 0, () => input[_CPI] || []], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_GetConnectPeerAssociationsCommand");var se_GetCoreNetworkCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/core-networks/{CoreNetworkId}"); b.p("CoreNetworkId", () => input.CoreNetworkId, "{CoreNetworkId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetCoreNetworkCommand");var se_GetCoreNetworkChangeEventsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/core-networks/{CoreNetworkId}/core-network-change-events/{PolicyVersionId}"); b.p("CoreNetworkId", () => input.CoreNetworkId, "{CoreNetworkId}", false); b.p("PolicyVersionId", () => input.PolicyVersionId.toString(), "{PolicyVersionId}", false); const query = (0, import_smithy_client.map)({ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_GetCoreNetworkChangeEventsCommand");var se_GetCoreNetworkChangeSetCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/core-networks/{CoreNetworkId}/core-network-change-sets/{PolicyVersionId}"); b.p("CoreNetworkId", () => input.CoreNetworkId, "{CoreNetworkId}", false); b.p("PolicyVersionId", () => input.PolicyVersionId.toString(), "{PolicyVersionId}", false); const query = (0, import_smithy_client.map)({ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_GetCoreNetworkChangeSetCommand");var se_GetCoreNetworkPolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/core-networks/{CoreNetworkId}/core-network-policy"); b.p("CoreNetworkId", () => input.CoreNetworkId, "{CoreNetworkId}", false); const query = (0, import_smithy_client.map)({ [_pVI]: [() => input.PolicyVersionId !== void 0, () => input[_PVI].toString()], [_a]: [, input[_A]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_GetCoreNetworkPolicyCommand");var se_GetCustomerGatewayAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/global-networks/{GlobalNetworkId}/customer-gateway-associations"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); const query = (0, import_smithy_client.map)({ [_cGA]: [() => input.CustomerGatewayArns !== void 0, () => input[_CGA] || []], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_GetCustomerGatewayAssociationsCommand");var se_GetDevicesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/global-networks/{GlobalNetworkId}/devices"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); const query = (0, import_smithy_client.map)({ [_dIe]: [() => input.DeviceIds !== void 0, () => input[_DIe] || []], [_sI]: [, input[_SI]], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_GetDevicesCommand");var se_GetDirectConnectGatewayAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/direct-connect-gateway-attachments/{AttachmentId}"); b.p("AttachmentId", () => input.AttachmentId, "{AttachmentId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetDirectConnectGatewayAttachmentCommand");var se_GetLinkAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/global-networks/{GlobalNetworkId}/link-associations"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); const query = (0, import_smithy_client.map)({ [_dI]: [, input[_DI]], [_lI]: [, input[_LI]], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_GetLinkAssociationsCommand");var se_GetLinksCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/global-networks/{GlobalNetworkId}/links"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); const query = (0, import_smithy_client.map)({ [_lIi]: [() => input.LinkIds !== void 0, () => input[_LIi] || []], [_sI]: [, input[_SI]], [_t]: [, input[_T]], [_p]: [, input[_P]], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_GetLinksCommand");var se_GetNetworkResourceCountsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/global-networks/{GlobalNetworkId}/network-resource-count"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); const query = (0, import_smithy_client.map)({ [_rT]: [, input[_RT]], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_GetNetworkResourceCountsCommand");var se_GetNetworkResourceRelationshipsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/global-networks/{GlobalNetworkId}/network-resource-relationships"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); const query = (0, import_smithy_client.map)({ [_cNI]: [, input[_CNI]], [_rGA]: [, input[_RGA]], [_aR]: [, input[_AR]], [_aI]: [, input[_AI]], [_rT]: [, input[_RT]], [_rA]: [, input[_RA]], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_GetNetworkResourceRelationshipsCommand");var se_GetNetworkResourcesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/global-networks/{GlobalNetworkId}/network-resources"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); const query = (0, import_smithy_client.map)({ [_cNI]: [, input[_CNI]], [_rGA]: [, input[_RGA]], [_aR]: [, input[_AR]], [_aI]: [, input[_AI]], [_rT]: [, input[_RT]], [_rA]: [, input[_RA]], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_GetNetworkResourcesCommand");var se_GetNetworkRoutesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/global-networks/{GlobalNetworkId}/network-routes"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { DestinationFilters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "DestinationFilters"), ExactCidrMatches: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ExactCidrMatches"), LongestPrefixMatches: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "LongestPrefixMatches"), PrefixListIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "PrefixListIds"), RouteTableIdentifier: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "RouteTableIdentifier"), States: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "States"), SubnetOfMatches: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SubnetOfMatches"), SupernetOfMatches: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SupernetOfMatches"), Types: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Types") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_GetNetworkRoutesCommand");var se_GetNetworkTelemetryCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/global-networks/{GlobalNetworkId}/network-telemetry"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); const query = (0, import_smithy_client.map)({ [_cNI]: [, input[_CNI]], [_rGA]: [, input[_RGA]], [_aR]: [, input[_AR]], [_aI]: [, input[_AI]], [_rT]: [, input[_RT]], [_rA]: [, input[_RA]], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_GetNetworkTelemetryCommand");var se_GetResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/resource-policy/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetResourcePolicyCommand");var se_GetRouteAnalysisCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/global-networks/{GlobalNetworkId}/route-analyses/{RouteAnalysisId}"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); b.p("RouteAnalysisId", () => input.RouteAnalysisId, "{RouteAnalysisId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetRouteAnalysisCommand");var se_GetSitesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/global-networks/{GlobalNetworkId}/sites"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); const query = (0, import_smithy_client.map)({ [_sIi]: [() => input.SiteIds !== void 0, () => input[_SIi] || []], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_GetSitesCommand");var se_GetSiteToSiteVpnAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/site-to-site-vpn-attachments/{AttachmentId}"); b.p("AttachmentId", () => input.AttachmentId, "{AttachmentId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetSiteToSiteVpnAttachmentCommand");var se_GetTransitGatewayConnectPeerAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/global-networks/{GlobalNetworkId}/transit-gateway-connect-peer-associations"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); const query = (0, import_smithy_client.map)({ [_tGCPA]: [() => input.TransitGatewayConnectPeerArns !== void 0, () => input[_TGCPA] || []], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_GetTransitGatewayConnectPeerAssociationsCommand");var se_GetTransitGatewayPeeringCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/transit-gateway-peerings/{PeeringId}"); b.p("PeeringId", () => input.PeeringId, "{PeeringId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetTransitGatewayPeeringCommand");var se_GetTransitGatewayRegistrationsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/global-networks/{GlobalNetworkId}/transit-gateway-registrations"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); const query = (0, import_smithy_client.map)({ [_tGA]: [() => input.TransitGatewayArns !== void 0, () => input[_TGA] || []], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_GetTransitGatewayRegistrationsCommand");var se_GetTransitGatewayRouteTableAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/transit-gateway-route-table-attachments/{AttachmentId}"); b.p("AttachmentId", () => input.AttachmentId, "{AttachmentId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetTransitGatewayRouteTableAttachmentCommand");var se_GetVpcAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/vpc-attachments/{AttachmentId}"); b.p("AttachmentId", () => input.AttachmentId, "{AttachmentId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetVpcAttachmentCommand");var se_ListAttachmentsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/attachments"); const query = (0, import_smithy_client.map)({ [_cNI]: [, input[_CNI]], [_aT]: [, input[_AT]], [_eL]: [, input[_EL]], [_s]: [, input[_S]], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListAttachmentsCommand");var se_ListConnectPeersCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/connect-peers"); const query = (0, import_smithy_client.map)({ [_cNI]: [, input[_CNI]], [_cAI]: [, input[_CAI]], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListConnectPeersCommand");var se_ListCoreNetworkPolicyVersionsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/core-networks/{CoreNetworkId}/core-network-policy-versions"); b.p("CoreNetworkId", () => input.CoreNetworkId, "{CoreNetworkId}", false); const query = (0, import_smithy_client.map)({ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListCoreNetworkPolicyVersionsCommand");var se_ListCoreNetworksCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/core-networks"); const query = (0, import_smithy_client.map)({ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListCoreNetworksCommand");var se_ListOrganizationServiceAccessStatusCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/organizations/service-access"); const query = (0, import_smithy_client.map)({ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListOrganizationServiceAccessStatusCommand");var se_ListPeeringsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/peerings"); const query = (0, import_smithy_client.map)({ [_cNI]: [, input[_CNI]], [_pT]: [, input[_PT]], [_eL]: [, input[_EL]], [_s]: [, input[_S]], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_nT]: [, input[_NT]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListPeeringsCommand");var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_ListTagsForResourceCommand");var se_PutCoreNetworkPolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/core-networks/{CoreNetworkId}/core-network-policy"); b.p("CoreNetworkId", () => input.CoreNetworkId, "{CoreNetworkId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()], Description: [], LatestVersionId: [], PolicyDocument: /* @__PURE__ */ __name((_) => import_smithy_client.LazyJsonString.from(_), "PolicyDocument") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_PutCoreNetworkPolicyCommand");var se_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/resource-policy/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { PolicyDocument: /* @__PURE__ */ __name((_) => import_smithy_client.LazyJsonString.from(_), "PolicyDocument") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_PutResourcePolicyCommand");var se_RegisterTransitGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/global-networks/{GlobalNetworkId}/transit-gateway-registrations"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { TransitGatewayArn: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_RegisterTransitGatewayCommand");var se_RejectAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/attachments/{AttachmentId}/reject"); b.p("AttachmentId", () => input.AttachmentId, "{AttachmentId}", false); let body; b.m("POST").h(headers).b(body); return b.build();}, "se_RejectAttachmentCommand");var se_RestoreCoreNetworkPolicyVersionCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/core-networks/{CoreNetworkId}/core-network-policy-versions/{PolicyVersionId}/restore"); b.p("CoreNetworkId", () => input.CoreNetworkId, "{CoreNetworkId}", false); b.p("PolicyVersionId", () => input.PolicyVersionId.toString(), "{PolicyVersionId}", false); let body; b.m("POST").h(headers).b(body); return b.build();}, "se_RestoreCoreNetworkPolicyVersionCommand");var se_StartOrganizationServiceAccessUpdateCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/organizations/service-access"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Action: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_StartOrganizationServiceAccessUpdateCommand");var se_StartRouteAnalysisCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/global-networks/{GlobalNetworkId}/route-analyses"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Destination: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Destination"), IncludeReturnPath: [], Source: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Source"), UseMiddleboxes: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_StartRouteAnalysisCommand");var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_TagResourceCommand");var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/tags/{ResourceArn}"); b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false); const query = (0, import_smithy_client.map)({ [_tK]: [(0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []] }); let body; b.m("DELETE").h(headers).q(query).b(body); return b.build();}, "se_UntagResourceCommand");var se_UpdateConnectionCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/global-networks/{GlobalNetworkId}/connections/{ConnectionId}"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); b.p("ConnectionId", () => input.ConnectionId, "{ConnectionId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { ConnectedLinkId: [], Description: [], LinkId: [] }) ); b.m("PATCH").h(headers).b(body); return b.build();}, "se_UpdateConnectionCommand");var se_UpdateCoreNetworkCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/core-networks/{CoreNetworkId}"); b.p("CoreNetworkId", () => input.CoreNetworkId, "{CoreNetworkId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Description: [] }) ); b.m("PATCH").h(headers).b(body); return b.build();}, "se_UpdateCoreNetworkCommand");var se_UpdateDeviceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/global-networks/{GlobalNetworkId}/devices/{DeviceId}"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); b.p("DeviceId", () => input.DeviceId, "{DeviceId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { AWSLocation: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AWSLocation"), Description: [], Location: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Location"), Model: [], SerialNumber: [], SiteId: [], Type: [], Vendor: [] }) ); b.m("PATCH").h(headers).b(body); return b.build();}, "se_UpdateDeviceCommand");var se_UpdateDirectConnectGatewayAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/direct-connect-gateway-attachments/{AttachmentId}"); b.p("AttachmentId", () => input.AttachmentId, "{AttachmentId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { EdgeLocations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "EdgeLocations") }) ); b.m("PATCH").h(headers).b(body); return b.build();}, "se_UpdateDirectConnectGatewayAttachmentCommand");var se_UpdateGlobalNetworkCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/global-networks/{GlobalNetworkId}"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Description: [] }) ); b.m("PATCH").h(headers).b(body); return b.build();}, "se_UpdateGlobalNetworkCommand");var se_UpdateLinkCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/global-networks/{GlobalNetworkId}/links/{LinkId}"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); b.p("LinkId", () => input.LinkId, "{LinkId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Bandwidth: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Bandwidth"), Description: [], Provider: [], Type: [] }) ); b.m("PATCH").h(headers).b(body); return b.build();}, "se_UpdateLinkCommand");var se_UpdateNetworkResourceMetadataCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/global-networks/{GlobalNetworkId}/network-resources/{ResourceArn}/metadata"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Metadata: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Metadata") }) ); b.m("PATCH").h(headers).b(body); return b.build();}, "se_UpdateNetworkResourceMetadataCommand");var se_UpdateSiteCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/global-networks/{GlobalNetworkId}/sites/{SiteId}"); b.p("GlobalNetworkId", () => input.GlobalNetworkId, "{GlobalNetworkId}", false); b.p("SiteId", () => input.SiteId, "{SiteId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Description: [], Location: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Location") }) ); b.m("PATCH").h(headers).b(body); return b.build();}, "se_UpdateSiteCommand");var se_UpdateVpcAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/vpc-attachments/{AttachmentId}"); b.p("AttachmentId", () => input.AttachmentId, "{AttachmentId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { AddSubnetArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AddSubnetArns"), Options: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Options"), RemoveSubnetArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "RemoveSubnetArns") }) ); b.m("PATCH").h(headers).b(body); return b.build();}, "se_UpdateVpcAttachmentCommand");var de_AcceptAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Attachment: /* @__PURE__ */ __name((_) => de_Attachment(_, context), "Attachment") }); Object.assign(contents, doc); return contents;}, "de_AcceptAttachmentCommand");var de_AssociateConnectPeerCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { ConnectPeerAssociation: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_AssociateConnectPeerCommand");var de_AssociateCustomerGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { CustomerGatewayAssociation: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_AssociateCustomerGatewayCommand");var de_AssociateLinkCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { LinkAssociation: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_AssociateLinkCommand");var de_AssociateTransitGatewayConnectPeerCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { TransitGatewayConnectPeerAssociation: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_AssociateTransitGatewayConnectPeerCommand");var de_CreateConnectAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { ConnectAttachment: /* @__PURE__ */ __name((_) => de_ConnectAttachment(_, context), "ConnectAttachment") }); Object.assign(contents, doc); return contents;}, "de_CreateConnectAttachmentCommand");var de_CreateConnectionCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Connection: /* @__PURE__ */ __name((_) => de_Connection(_, context), "Connection") }); Object.assign(contents, doc); return contents;}, "de_CreateConnectionCommand");var de_CreateConnectPeerCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { ConnectPeer: /* @__PURE__ */ __name((_) => de_ConnectPeer(_, context), "ConnectPeer") }); Object.assign(contents, doc); return contents;}, "de_CreateConnectPeerCommand");var de_CreateCoreNetworkCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { CoreNetwork: /* @__PURE__ */ __name((_) => de_CoreNetwork(_, context), "CoreNetwork") }); Object.assign(contents, doc); return contents;}, "de_CreateCoreNetworkCommand");var de_CreateDeviceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Device: /* @__PURE__ */ __name((_) => de_Device(_, context), "Device") }); Object.assign(contents, doc); return contents;}, "de_CreateDeviceCommand");var de_CreateDirectConnectGatewayAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { DirectConnectGatewayAttachment: /* @__PURE__ */ __name((_) => de_DirectConnectGatewayAttachment(_, context), "DirectConnectGatewayAttachment") }); Object.assign(contents, doc); return contents;}, "de_CreateDirectConnectGatewayAttachmentCommand");var de_CreateGlobalNetworkCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { GlobalNetwork: /* @__PURE__ */ __name((_) => de_GlobalNetwork(_, context), "GlobalNetwork") }); Object.assign(contents, doc); return contents;}, "de_CreateGlobalNetworkCommand");var de_CreateLinkCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Link: /* @__PURE__ */ __name((_) => de_Link(_, context), "Link") }); Object.assign(contents, doc); return contents;}, "de_CreateLinkCommand");var de_CreateSiteCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Site: /* @__PURE__ */ __name((_) => de_Site(_, context), "Site") }); Object.assign(contents, doc); return contents;}, "de_CreateSiteCommand");var de_CreateSiteToSiteVpnAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { SiteToSiteVpnAttachment: /* @__PURE__ */ __name((_) => de_SiteToSiteVpnAttachment(_, context), "SiteToSiteVpnAttachment") }); Object.assign(contents, doc); return contents;}, "de_CreateSiteToSiteVpnAttachmentCommand");var de_CreateTransitGatewayPeeringCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { TransitGatewayPeering: /* @__PURE__ */ __name((_) => de_TransitGatewayPeering(_, context), "TransitGatewayPeering") }); Object.assign(contents, doc); return contents;}, "de_CreateTransitGatewayPeeringCommand");var de_CreateTransitGatewayRouteTableAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { TransitGatewayRouteTableAttachment: /* @__PURE__ */ __name((_) => de_TransitGatewayRouteTableAttachment(_, context), "TransitGatewayRouteTableAttachment") }); Object.assign(contents, doc); return contents;}, "de_CreateTransitGatewayRouteTableAttachmentCommand");var de_CreateVpcAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { VpcAttachment: /* @__PURE__ */ __name((_) => de_VpcAttachment(_, context), "VpcAttachment") }); Object.assign(contents, doc); return contents;}, "de_CreateVpcAttachmentCommand");var de_DeleteAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Attachment: /* @__PURE__ */ __name((_) => de_Attachment(_, context), "Attachment") }); Object.assign(contents, doc); return contents;}, "de_DeleteAttachmentCommand");var de_DeleteConnectionCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Connection: /* @__PURE__ */ __name((_) => de_Connection(_, context), "Connection") }); Object.assign(contents, doc); return contents;}, "de_DeleteConnectionCommand");var de_DeleteConnectPeerCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { ConnectPeer: /* @__PURE__ */ __name((_) => de_ConnectPeer(_, context), "ConnectPeer") }); Object.assign(contents, doc); return contents;}, "de_DeleteConnectPeerCommand");var de_DeleteCoreNetworkCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { CoreNetwork: /* @__PURE__ */ __name((_) => de_CoreNetwork(_, context), "CoreNetwork") }); Object.assign(contents, doc); return contents;}, "de_DeleteCoreNetworkCommand");var de_DeleteCoreNetworkPolicyVersionCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { CoreNetworkPolicy: /* @__PURE__ */ __name((_) => de_CoreNetworkPolicy(_, context), "CoreNetworkPolicy") }); Object.assign(contents, doc); return contents;}, "de_DeleteCoreNetworkPolicyVersionCommand");var de_DeleteDeviceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Device: /* @__PURE__ */ __name((_) => de_Device(_, context), "Device") }); Object.assign(contents, doc); return contents;}, "de_DeleteDeviceCommand");var de_DeleteGlobalNetworkCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { GlobalNetwork: /* @__PURE__ */ __name((_) => de_GlobalNetwork(_, context), "GlobalNetwork") }); Object.assign(contents, doc); return contents;}, "de_DeleteGlobalNetworkCommand");var de_DeleteLinkCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Link: /* @__PURE__ */ __name((_) => de_Link(_, context), "Link") }); Object.assign(contents, doc); return contents;}, "de_DeleteLinkCommand");var de_DeletePeeringCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Peering: /* @__PURE__ */ __name((_) => de_Peering(_, context), "Peering") }); Object.assign(contents, doc); return contents;}, "de_DeletePeeringCommand");var de_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_DeleteResourcePolicyCommand");var de_DeleteSiteCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Site: /* @__PURE__ */ __name((_) => de_Site(_, context), "Site") }); Object.assign(contents, doc); return contents;}, "de_DeleteSiteCommand");var de_DeregisterTransitGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { TransitGatewayRegistration: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_DeregisterTransitGatewayCommand");var de_DescribeGlobalNetworksCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { GlobalNetworks: /* @__PURE__ */ __name((_) => de_GlobalNetworkList(_, context), "GlobalNetworks"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_DescribeGlobalNetworksCommand");var de_DisassociateConnectPeerCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { ConnectPeerAssociation: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_DisassociateConnectPeerCommand");var de_DisassociateCustomerGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { CustomerGatewayAssociation: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_DisassociateCustomerGatewayCommand");var de_DisassociateLinkCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { LinkAssociation: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_DisassociateLinkCommand");var de_DisassociateTransitGatewayConnectPeerCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { TransitGatewayConnectPeerAssociation: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_DisassociateTransitGatewayConnectPeerCommand");var de_ExecuteCoreNetworkChangeSetCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_ExecuteCoreNetworkChangeSetCommand");var de_GetConnectAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { ConnectAttachment: /* @__PURE__ */ __name((_) => de_ConnectAttachment(_, context), "ConnectAttachment") }); Object.assign(contents, doc); return contents;}, "de_GetConnectAttachmentCommand");var de_GetConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Connections: /* @__PURE__ */ __name((_) => de_ConnectionList(_, context), "Connections"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetConnectionsCommand");var de_GetConnectPeerCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { ConnectPeer: /* @__PURE__ */ __name((_) => de_ConnectPeer(_, context), "ConnectPeer") }); Object.assign(contents, doc); return contents;}, "de_GetConnectPeerCommand");var de_GetConnectPeerAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { ConnectPeerAssociations: import_smithy_client._json, NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetConnectPeerAssociationsCommand");var de_GetCoreNetworkCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { CoreNetwork: /* @__PURE__ */ __name((_) => de_CoreNetwork(_, context), "CoreNetwork") }); Object.assign(contents, doc); return contents;}, "de_GetCoreNetworkCommand");var de_GetCoreNetworkChangeEventsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { CoreNetworkChangeEvents: /* @__PURE__ */ __name((_) => de_CoreNetworkChangeEventList(_, context), "CoreNetworkChangeEvents"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetCoreNetworkChangeEventsCommand");var de_GetCoreNetworkChangeSetCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { CoreNetworkChanges: import_smithy_client._json, NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetCoreNetworkChangeSetCommand");var de_GetCoreNetworkPolicyCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { CoreNetworkPolicy: /* @__PURE__ */ __name((_) => de_CoreNetworkPolicy(_, context), "CoreNetworkPolicy") }); Object.assign(contents, doc); return contents;}, "de_GetCoreNetworkPolicyCommand");var de_GetCustomerGatewayAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { CustomerGatewayAssociations: import_smithy_client._json, NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetCustomerGatewayAssociationsCommand");var de_GetDevicesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Devices: /* @__PURE__ */ __name((_) => de_DeviceList(_, context), "Devices"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetDevicesCommand");var de_GetDirectConnectGatewayAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { DirectConnectGatewayAttachment: /* @__PURE__ */ __name((_) => de_DirectConnectGatewayAttachment(_, context), "DirectConnectGatewayAttachment") }); Object.assign(contents, doc); return contents;}, "de_GetDirectConnectGatewayAttachmentCommand");var de_GetLinkAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { LinkAssociations: import_smithy_client._json, NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetLinkAssociationsCommand");var de_GetLinksCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Links: /* @__PURE__ */ __name((_) => de_LinkList(_, context), "Links"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetLinksCommand");var de_GetNetworkResourceCountsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { NetworkResourceCounts: import_smithy_client._json, NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetNetworkResourceCountsCommand");var de_GetNetworkResourceRelationshipsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { NextToken: import_smithy_client.expectString, Relationships: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_GetNetworkResourceRelationshipsCommand");var de_GetNetworkResourcesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { NetworkResources: /* @__PURE__ */ __name((_) => de_NetworkResourceList(_, context), "NetworkResources"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetNetworkResourcesCommand");var de_GetNetworkRoutesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { CoreNetworkSegmentEdge: import_smithy_client._json, NetworkRoutes: import_smithy_client._json, RouteTableArn: import_smithy_client.expectString, RouteTableTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "RouteTableTimestamp"), RouteTableType: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetNetworkRoutesCommand");var de_GetNetworkTelemetryCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { NetworkTelemetry: /* @__PURE__ */ __name((_) => de_NetworkTelemetryList(_, context), "NetworkTelemetry"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetNetworkTelemetryCommand");var de_GetResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { PolicyDocument: import_smithy_client.LazyJsonString.from }); Object.assign(contents, doc); return contents;}, "de_GetResourcePolicyCommand");var de_GetRouteAnalysisCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { RouteAnalysis: /* @__PURE__ */ __name((_) => de_RouteAnalysis(_, context), "RouteAnalysis") }); Object.assign(contents, doc); return contents;}, "de_GetRouteAnalysisCommand");var de_GetSitesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { NextToken: import_smithy_client.expectString, Sites: /* @__PURE__ */ __name((_) => de_SiteList(_, context), "Sites") }); Object.assign(contents, doc); return contents;}, "de_GetSitesCommand");var de_GetSiteToSiteVpnAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { SiteToSiteVpnAttachment: /* @__PURE__ */ __name((_) => de_SiteToSiteVpnAttachment(_, context), "SiteToSiteVpnAttachment") }); Object.assign(contents, doc); return contents;}, "de_GetSiteToSiteVpnAttachmentCommand");var de_GetTransitGatewayConnectPeerAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { NextToken: import_smithy_client.expectString, TransitGatewayConnectPeerAssociations: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_GetTransitGatewayConnectPeerAssociationsCommand");var de_GetTransitGatewayPeeringCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { TransitGatewayPeering: /* @__PURE__ */ __name((_) => de_TransitGatewayPeering(_, context), "TransitGatewayPeering") }); Object.assign(contents, doc); return contents;}, "de_GetTransitGatewayPeeringCommand");var de_GetTransitGatewayRegistrationsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { NextToken: import_smithy_client.expectString, TransitGatewayRegistrations: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_GetTransitGatewayRegistrationsCommand");var de_GetTransitGatewayRouteTableAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { TransitGatewayRouteTableAttachment: /* @__PURE__ */ __name((_) => de_TransitGatewayRouteTableAttachment(_, context), "TransitGatewayRouteTableAttachment") }); Object.assign(contents, doc); return contents;}, "de_GetTransitGatewayRouteTableAttachmentCommand");var de_GetVpcAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { VpcAttachment: /* @__PURE__ */ __name((_) => de_VpcAttachment(_, context), "VpcAttachment") }); Object.assign(contents, doc); return contents;}, "de_GetVpcAttachmentCommand");var de_ListAttachmentsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Attachments: /* @__PURE__ */ __name((_) => de_AttachmentList(_, context), "Attachments"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListAttachmentsCommand");var de_ListConnectPeersCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { ConnectPeers: /* @__PURE__ */ __name((_) => de_ConnectPeerSummaryList(_, context), "ConnectPeers"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListConnectPeersCommand");var de_ListCoreNetworkPolicyVersionsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { CoreNetworkPolicyVersions: /* @__PURE__ */ __name((_) => de_CoreNetworkPolicyVersionList(_, context), "CoreNetworkPolicyVersions"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListCoreNetworkPolicyVersionsCommand");var de_ListCoreNetworksCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { CoreNetworks: import_smithy_client._json, NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListCoreNetworksCommand");var de_ListOrganizationServiceAccessStatusCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { NextToken: import_smithy_client.expectString, OrganizationStatus: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_ListOrganizationServiceAccessStatusCommand");var de_ListPeeringsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { NextToken: import_smithy_client.expectString, Peerings: /* @__PURE__ */ __name((_) => de_PeeringList(_, context), "Peerings") }); Object.assign(contents, doc); return contents;}, "de_ListPeeringsCommand");var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { TagList: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_ListTagsForResourceCommand");var de_PutCoreNetworkPolicyCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { CoreNetworkPolicy: /* @__PURE__ */ __name((_) => de_CoreNetworkPolicy(_, context), "CoreNetworkPolicy") }); Object.assign(contents, doc); return contents;}, "de_PutCoreNetworkPolicyCommand");var de_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_PutResourcePolicyCommand");var de_RegisterTransitGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { TransitGatewayRegistration: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_RegisterTransitGatewayCommand");var de_RejectAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Attachment: /* @__PURE__ */ __name((_) => de_Attachment(_, context), "Attachment") }); Object.assign(contents, doc); return contents;}, "de_RejectAttachmentCommand");var de_RestoreCoreNetworkPolicyVersionCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { CoreNetworkPolicy: /* @__PURE__ */ __name((_) => de_CoreNetworkPolicy(_, context), "CoreNetworkPolicy") }); Object.assign(contents, doc); return contents;}, "de_RestoreCoreNetworkPolicyVersionCommand");var de_StartOrganizationServiceAccessUpdateCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { OrganizationStatus: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_StartOrganizationServiceAccessUpdateCommand");var de_StartRouteAnalysisCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { RouteAnalysis: /* @__PURE__ */ __name((_) => de_RouteAnalysis(_, context), "RouteAnalysis") }); Object.assign(contents, doc); return contents;}, "de_StartRouteAnalysisCommand");var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_TagResourceCommand");var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_UntagResourceCommand");var de_UpdateConnectionCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Connection: /* @__PURE__ */ __name((_) => de_Connection(_, context), "Connection") }); Object.assign(contents, doc); return contents;}, "de_UpdateConnectionCommand");var de_UpdateCoreNetworkCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { CoreNetwork: /* @__PURE__ */ __name((_) => de_CoreNetwork(_, context), "CoreNetwork") }); Object.assign(contents, doc); return contents;}, "de_UpdateCoreNetworkCommand");var de_UpdateDeviceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Device: /* @__PURE__ */ __name((_) => de_Device(_, context), "Device") }); Object.assign(contents, doc); return contents;}, "de_UpdateDeviceCommand");var de_UpdateDirectConnectGatewayAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { DirectConnectGatewayAttachment: /* @__PURE__ */ __name((_) => de_DirectConnectGatewayAttachment(_, context), "DirectConnectGatewayAttachment") }); Object.assign(contents, doc); return contents;}, "de_UpdateDirectConnectGatewayAttachmentCommand");var de_UpdateGlobalNetworkCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { GlobalNetwork: /* @__PURE__ */ __name((_) => de_GlobalNetwork(_, context), "GlobalNetwork") }); Object.assign(contents, doc); return contents;}, "de_UpdateGlobalNetworkCommand");var de_UpdateLinkCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Link: /* @__PURE__ */ __name((_) => de_Link(_, context), "Link") }); Object.assign(contents, doc); return contents;}, "de_UpdateLinkCommand");var de_UpdateNetworkResourceMetadataCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Metadata: import_smithy_client._json, ResourceArn: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_UpdateNetworkResourceMetadataCommand");var de_UpdateSiteCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Site: /* @__PURE__ */ __name((_) => de_Site(_, context), "Site") }); Object.assign(contents, doc); return contents;}, "de_UpdateSiteCommand");var de_UpdateVpcAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { VpcAttachment: /* @__PURE__ */ __name((_) => de_VpcAttachment(_, context), "VpcAttachment") }); Object.assign(contents, doc); return contents;}, "de_UpdateVpcAttachmentCommand");var de_CommandError = /* @__PURE__ */ __name(async (output, context) => { const parsedOutput = { ...output, body: await (0, import_core2.parseJsonErrorBody)(output.body, context) }; const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body); switch (errorCode) { case "AccessDeniedException": case "com.amazonaws.networkmanager#AccessDeniedException": throw await de_AccessDeniedExceptionRes(parsedOutput, context); case "ConflictException": case "com.amazonaws.networkmanager#ConflictException": throw await de_ConflictExceptionRes(parsedOutput, context); case "InternalServerException": case "com.amazonaws.networkmanager#InternalServerException": throw await de_InternalServerExceptionRes(parsedOutput, context); case "ResourceNotFoundException": case "com.amazonaws.networkmanager#ResourceNotFoundException": throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); case "ThrottlingException": case "com.amazonaws.networkmanager#ThrottlingException": throw await de_ThrottlingExceptionRes(parsedOutput, context); case "ValidationException": case "com.amazonaws.networkmanager#ValidationException": throw await de_ValidationExceptionRes(parsedOutput, context); case "ServiceQuotaExceededException": case "com.amazonaws.networkmanager#ServiceQuotaExceededException": throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context); case "CoreNetworkPolicyException": case "com.amazonaws.networkmanager#CoreNetworkPolicyException": throw await de_CoreNetworkPolicyExceptionRes(parsedOutput, context); default: const parsedBody = parsedOutput.body; return throwDefaultError({ output, parsedBody, errorCode }); }}, "de_CommandError");var throwDefaultError = (0, import_smithy_client.withBaseException)(NetworkManagerServiceException);var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new AccessDeniedException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_AccessDeniedExceptionRes");var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString, ResourceId: import_smithy_client.expectString, ResourceType: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new ConflictException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ConflictExceptionRes");var de_CoreNetworkPolicyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Errors: import_smithy_client._json, Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new CoreNetworkPolicyException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_CoreNetworkPolicyExceptionRes");var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({ [_RAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, import_smithy_client.strictParseInt32)(parsedOutput.headers[_ra])] }); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new InternalServerException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InternalServerExceptionRes");var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Context: import_smithy_client._json, Message: import_smithy_client.expectString, ResourceId: import_smithy_client.expectString, ResourceType: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new ResourceNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ResourceNotFoundExceptionRes");var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { LimitCode: import_smithy_client.expectString, Message: import_smithy_client.expectString, ResourceId: import_smithy_client.expectString, ResourceType: import_smithy_client.expectString, ServiceCode: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new ServiceQuotaExceededException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ServiceQuotaExceededExceptionRes");var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({ [_RAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, import_smithy_client.strictParseInt32)(parsedOutput.headers[_ra])] }); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new ThrottlingException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ThrottlingExceptionRes");var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Fields: import_smithy_client._json, Message: import_smithy_client.expectString, Reason: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new ValidationException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ValidationExceptionRes");var de_Attachment = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { AttachmentId: import_smithy_client.expectString, AttachmentPolicyRuleNumber: import_smithy_client.expectInt32, AttachmentType: import_smithy_client.expectString, CoreNetworkArn: import_smithy_client.expectString, CoreNetworkId: import_smithy_client.expectString, CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"), EdgeLocation: import_smithy_client.expectString, EdgeLocations: import_smithy_client._json, LastModificationErrors: import_smithy_client._json, NetworkFunctionGroupName: import_smithy_client.expectString, OwnerAccountId: import_smithy_client.expectString, ProposedNetworkFunctionGroupChange: import_smithy_client._json, ProposedSegmentChange: import_smithy_client._json, ResourceArn: import_smithy_client.expectString, SegmentName: import_smithy_client.expectString, State: import_smithy_client.expectString, Tags: import_smithy_client._json, UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt") });}, "de_Attachment");var de_AttachmentList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_Attachment(entry, context); }); return retVal;}, "de_AttachmentList");var de_ConnectAttachment = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Attachment: /* @__PURE__ */ __name((_) => de_Attachment(_, context), "Attachment"), Options: import_smithy_client._json, TransportAttachmentId: import_smithy_client.expectString });}, "de_ConnectAttachment");var de_Connection = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { ConnectedDeviceId: import_smithy_client.expectString, ConnectedLinkId: import_smithy_client.expectString, ConnectionArn: import_smithy_client.expectString, ConnectionId: import_smithy_client.expectString, CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"), Description: import_smithy_client.expectString, DeviceId: import_smithy_client.expectString, GlobalNetworkId: import_smithy_client.expectString, LinkId: import_smithy_client.expectString, State: import_smithy_client.expectString, Tags: import_smithy_client._json });}, "de_Connection");var de_ConnectionHealth = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Status: import_smithy_client.expectString, Timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Timestamp"), Type: import_smithy_client.expectString });}, "de_ConnectionHealth");var de_ConnectionList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_Connection(entry, context); }); return retVal;}, "de_ConnectionList");var de_ConnectPeer = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Configuration: import_smithy_client._json, ConnectAttachmentId: import_smithy_client.expectString, ConnectPeerId: import_smithy_client.expectString, CoreNetworkId: import_smithy_client.expectString, CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"), EdgeLocation: import_smithy_client.expectString, LastModificationErrors: import_smithy_client._json, State: import_smithy_client.expectString, SubnetArn: import_smithy_client.expectString, Tags: import_smithy_client._json });}, "de_ConnectPeer");var de_ConnectPeerSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { ConnectAttachmentId: import_smithy_client.expectString, ConnectPeerId: import_smithy_client.expectString, ConnectPeerState: import_smithy_client.expectString, CoreNetworkId: import_smithy_client.expectString, CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"), EdgeLocation: import_smithy_client.expectString, SubnetArn: import_smithy_client.expectString, Tags: import_smithy_client._json });}, "de_ConnectPeerSummary");var de_ConnectPeerSummaryList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_ConnectPeerSummary(entry, context); }); return retVal;}, "de_ConnectPeerSummaryList");var de_CoreNetwork = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { CoreNetworkArn: import_smithy_client.expectString, CoreNetworkId: import_smithy_client.expectString, CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"), Description: import_smithy_client.expectString, Edges: import_smithy_client._json, GlobalNetworkId: import_smithy_client.expectString, NetworkFunctionGroups: import_smithy_client._json, Segments: import_smithy_client._json, State: import_smithy_client.expectString, Tags: import_smithy_client._json });}, "de_CoreNetwork");var de_CoreNetworkChangeEvent = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Action: import_smithy_client.expectString, EventTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EventTime"), IdentifierPath: import_smithy_client.expectString, Status: import_smithy_client.expectString, Type: import_smithy_client.expectString, Values: import_smithy_client._json });}, "de_CoreNetworkChangeEvent");var de_CoreNetworkChangeEventList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_CoreNetworkChangeEvent(entry, context); }); return retVal;}, "de_CoreNetworkChangeEventList");var de_CoreNetworkPolicy = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Alias: import_smithy_client.expectString, ChangeSetState: import_smithy_client.expectString, CoreNetworkId: import_smithy_client.expectString, CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"), Description: import_smithy_client.expectString, PolicyDocument: import_smithy_client.LazyJsonString.from, PolicyErrors: import_smithy_client._json, PolicyVersionId: import_smithy_client.expectInt32 });}, "de_CoreNetworkPolicy");var de_CoreNetworkPolicyVersion = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Alias: import_smithy_client.expectString, ChangeSetState: import_smithy_client.expectString, CoreNetworkId: import_smithy_client.expectString, CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"), Description: import_smithy_client.expectString, PolicyVersionId: import_smithy_client.expectInt32 });}, "de_CoreNetworkPolicyVersion");var de_CoreNetworkPolicyVersionList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_CoreNetworkPolicyVersion(entry, context); }); return retVal;}, "de_CoreNetworkPolicyVersionList");var de_Device = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { AWSLocation: import_smithy_client._json, CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"), Description: import_smithy_client.expectString, DeviceArn: import_smithy_client.expectString, DeviceId: import_smithy_client.expectString, GlobalNetworkId: import_smithy_client.expectString, Location: import_smithy_client._json, Model: import_smithy_client.expectString, SerialNumber: import_smithy_client.expectString, SiteId: import_smithy_client.expectString, State: import_smithy_client.expectString, Tags: import_smithy_client._json, Type: import_smithy_client.expectString, Vendor: import_smithy_client.expectString });}, "de_Device");var de_DeviceList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_Device(entry, context); }); return retVal;}, "de_DeviceList");var de_DirectConnectGatewayAttachment = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Attachment: /* @__PURE__ */ __name((_) => de_Attachment(_, context), "Attachment"), DirectConnectGatewayArn: import_smithy_client.expectString });}, "de_DirectConnectGatewayAttachment");var de_GlobalNetwork = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"), Description: import_smithy_client.expectString, GlobalNetworkArn: import_smithy_client.expectString, GlobalNetworkId: import_smithy_client.expectString, State: import_smithy_client.expectString, Tags: import_smithy_client._json });}, "de_GlobalNetwork");var de_GlobalNetworkList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_GlobalNetwork(entry, context); }); return retVal;}, "de_GlobalNetworkList");var de_Link = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Bandwidth: import_smithy_client._json, CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"), Description: import_smithy_client.expectString, GlobalNetworkId: import_smithy_client.expectString, LinkArn: import_smithy_client.expectString, LinkId: import_smithy_client.expectString, Provider: import_smithy_client.expectString, SiteId: import_smithy_client.expectString, State: import_smithy_client.expectString, Tags: import_smithy_client._json, Type: import_smithy_client.expectString });}, "de_Link");var de_LinkList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_Link(entry, context); }); return retVal;}, "de_LinkList");var de_NetworkResource = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { AccountId: import_smithy_client.expectString, AwsRegion: import_smithy_client.expectString, CoreNetworkId: import_smithy_client.expectString, Definition: import_smithy_client.expectString, DefinitionTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "DefinitionTimestamp"), Metadata: import_smithy_client._json, RegisteredGatewayArn: import_smithy_client.expectString, ResourceArn: import_smithy_client.expectString, ResourceId: import_smithy_client.expectString, ResourceType: import_smithy_client.expectString, Tags: import_smithy_client._json });}, "de_NetworkResource");var de_NetworkResourceList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_NetworkResource(entry, context); }); return retVal;}, "de_NetworkResourceList");var de_NetworkTelemetry = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { AccountId: import_smithy_client.expectString, Address: import_smithy_client.expectString, AwsRegion: import_smithy_client.expectString, CoreNetworkId: import_smithy_client.expectString, Health: /* @__PURE__ */ __name((_) => de_ConnectionHealth(_, context), "Health"), RegisteredGatewayArn: import_smithy_client.expectString, ResourceArn: import_smithy_client.expectString, ResourceId: import_smithy_client.expectString, ResourceType: import_smithy_client.expectString });}, "de_NetworkTelemetry");var de_NetworkTelemetryList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_NetworkTelemetry(entry, context); }); return retVal;}, "de_NetworkTelemetryList");var de_Peering = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { CoreNetworkArn: import_smithy_client.expectString, CoreNetworkId: import_smithy_client.expectString, CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"), EdgeLocation: import_smithy_client.expectString, LastModificationErrors: import_smithy_client._json, OwnerAccountId: import_smithy_client.expectString, PeeringId: import_smithy_client.expectString, PeeringType: import_smithy_client.expectString, ResourceArn: import_smithy_client.expectString, State: import_smithy_client.expectString, Tags: import_smithy_client._json });}, "de_Peering");var de_PeeringList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_Peering(entry, context); }); return retVal;}, "de_PeeringList");var de_RouteAnalysis = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Destination: import_smithy_client._json, ForwardPath: import_smithy_client._json, GlobalNetworkId: import_smithy_client.expectString, IncludeReturnPath: import_smithy_client.expectBoolean, OwnerAccountId: import_smithy_client.expectString, ReturnPath: import_smithy_client._json, RouteAnalysisId: import_smithy_client.expectString, Source: import_smithy_client._json, StartTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTimestamp"), Status: import_smithy_client.expectString, UseMiddleboxes: import_smithy_client.expectBoolean });}, "de_RouteAnalysis");var de_Site = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"), Description: import_smithy_client.expectString, GlobalNetworkId: import_smithy_client.expectString, Location: import_smithy_client._json, SiteArn: import_smithy_client.expectString, SiteId: import_smithy_client.expectString, State: import_smithy_client.expectString, Tags: import_smithy_client._json });}, "de_Site");var de_SiteList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_Site(entry, context); }); return retVal;}, "de_SiteList");var de_SiteToSiteVpnAttachment = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Attachment: /* @__PURE__ */ __name((_) => de_Attachment(_, context), "Attachment"), VpnConnectionArn: import_smithy_client.expectString });}, "de_SiteToSiteVpnAttachment");var de_TransitGatewayPeering = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Peering: /* @__PURE__ */ __name((_) => de_Peering(_, context), "Peering"), TransitGatewayArn: import_smithy_client.expectString, TransitGatewayPeeringAttachmentId: import_smithy_client.expectString });}, "de_TransitGatewayPeering");var de_TransitGatewayRouteTableAttachment = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Attachment: /* @__PURE__ */ __name((_) => de_Attachment(_, context), "Attachment"), PeeringId: import_smithy_client.expectString, TransitGatewayRouteTableArn: import_smithy_client.expectString });}, "de_TransitGatewayRouteTableAttachment");var de_VpcAttachment = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Attachment: /* @__PURE__ */ __name((_) => de_Attachment(_, context), "Attachment"), Options: import_smithy_client._json, SubnetArns: import_smithy_client._json });}, "de_VpcAttachment");var deserializeMetadata = /* @__PURE__ */ __name((output) => ({ httpStatusCode: output.statusCode, requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"], extendedRequestId: output.headers["x-amz-id-2"], cfId: output.headers["x-amz-cf-id"]}), "deserializeMetadata");var _A = "Alias";var _AI = "AccountId";var _AR = "AwsRegion";var _AT = "AttachmentType";var _CAI = "ConnectAttachmentId";var _CGA = "CustomerGatewayArns";var _CI = "ConnectionIds";var _CNI = "CoreNetworkId";var _CPI = "ConnectPeerIds";var _DI = "DeviceId";var _DIe = "DeviceIds";var _EL = "EdgeLocation";var _GNI = "GlobalNetworkIds";var _LI = "LinkId";var _LIi = "LinkIds";var _MR = "MaxResults";var _NT = "NextToken";var _P = "Provider";var _PT = "PeeringType";var _PVI = "PolicyVersionId";var _RA = "ResourceArn";var _RAS = "RetryAfterSeconds";var _RGA = "RegisteredGatewayArn";var _RT = "ResourceType";var _S = "State";var _SI = "SiteId";var _SIi = "SiteIds";var _T = "Type";var _TGA = "TransitGatewayArns";var _TGCPA = "TransitGatewayConnectPeerArns";var _TK = "TagKeys";var _a = "alias";var _aI = "accountId";var _aR = "awsRegion";var _aT = "attachmentType";var _cAI = "connectAttachmentId";var _cGA = "customerGatewayArns";var _cI = "connectionIds";var _cNI = "coreNetworkId";var _cPI = "connectPeerIds";var _dI = "deviceId";var _dIe = "deviceIds";var _eL = "edgeLocation";var _gNI = "globalNetworkIds";var _lI = "linkId";var _lIi = "linkIds";var _mR = "maxResults";var _nT = "nextToken";var _p = "provider";var _pT = "peeringType";var _pVI = "policyVersionId";var _rA = "resourceArn";var _rGA = "registeredGatewayArn";var _rT = "resourceType";var _ra = "retry-after";var _s = "state";var _sI = "siteId";var _sIi = "siteIds";var _t = "type";var _tGA = "transitGatewayArns";var _tGCPA = "transitGatewayConnectPeerArns";var _tK = "tagKeys"; // src/commands/AcceptAttachmentCommand.tsvar AcceptAttachmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "AcceptAttachment", {}).n("NetworkManagerClient", "AcceptAttachmentCommand").f(void 0, void 0).ser(se_AcceptAttachmentCommand).de(de_AcceptAttachmentCommand).build() { static { __name(this, "AcceptAttachmentCommand"); }}; // src/commands/AssociateConnectPeerCommand.ts var AssociateConnectPeerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "AssociateConnectPeer", {}).n("NetworkManagerClient", "AssociateConnectPeerCommand").f(void 0, void 0).ser(se_AssociateConnectPeerCommand).de(de_AssociateConnectPeerCommand).build() { static { __name(this, "AssociateConnectPeerCommand"); }}; // src/commands/AssociateCustomerGatewayCommand.ts var AssociateCustomerGatewayCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "AssociateCustomerGateway", {}).n("NetworkManagerClient", "AssociateCustomerGatewayCommand").f(void 0, void 0).ser(se_AssociateCustomerGatewayCommand).de(de_AssociateCustomerGatewayCommand).build() { static { __name(this, "AssociateCustomerGatewayCommand"); }}; // src/commands/AssociateLinkCommand.ts var AssociateLinkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "AssociateLink", {}).n("NetworkManagerClient", "AssociateLinkCommand").f(void 0, void 0).ser(se_AssociateLinkCommand).de(de_AssociateLinkCommand).build() { static { __name(this, "AssociateLinkCommand"); }}; // src/commands/AssociateTransitGatewayConnectPeerCommand.ts var AssociateTransitGatewayConnectPeerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "AssociateTransitGatewayConnectPeer", {}).n("NetworkManagerClient", "AssociateTransitGatewayConnectPeerCommand").f(void 0, void 0).ser(se_AssociateTransitGatewayConnectPeerCommand).de(de_AssociateTransitGatewayConnectPeerCommand).build() { static { __name(this, "AssociateTransitGatewayConnectPeerCommand"); }}; // src/commands/CreateConnectAttachmentCommand.ts var CreateConnectAttachmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "CreateConnectAttachment", {}).n("NetworkManagerClient", "CreateConnectAttachmentCommand").f(void 0, void 0).ser(se_CreateConnectAttachmentCommand).de(de_CreateConnectAttachmentCommand).build() { static { __name(this, "CreateConnectAttachmentCommand"); }}; // src/commands/CreateConnectionCommand.ts var CreateConnectionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "CreateConnection", {}).n("NetworkManagerClient", "CreateConnectionCommand").f(void 0, void 0).ser(se_CreateConnectionCommand).de(de_CreateConnectionCommand).build() { static { __name(this, "CreateConnectionCommand"); }}; // src/commands/CreateConnectPeerCommand.ts var CreateConnectPeerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "CreateConnectPeer", {}).n("NetworkManagerClient", "CreateConnectPeerCommand").f(void 0, void 0).ser(se_CreateConnectPeerCommand).de(de_CreateConnectPeerCommand).build() { static { __name(this, "CreateConnectPeerCommand"); }}; // src/commands/CreateCoreNetworkCommand.ts var CreateCoreNetworkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "CreateCoreNetwork", {}).n("NetworkManagerClient", "CreateCoreNetworkCommand").f(void 0, void 0).ser(se_CreateCoreNetworkCommand).de(de_CreateCoreNetworkCommand).build() { static { __name(this, "CreateCoreNetworkCommand"); }}; // src/commands/CreateDeviceCommand.ts var CreateDeviceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "CreateDevice", {}).n("NetworkManagerClient", "CreateDeviceCommand").f(CreateDeviceRequestFilterSensitiveLog, CreateDeviceResponseFilterSensitiveLog).ser(se_CreateDeviceCommand).de(de_CreateDeviceCommand).build() { static { __name(this, "CreateDeviceCommand"); }}; // src/commands/CreateDirectConnectGatewayAttachmentCommand.ts var CreateDirectConnectGatewayAttachmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "CreateDirectConnectGatewayAttachment", {}).n("NetworkManagerClient", "CreateDirectConnectGatewayAttachmentCommand").f(void 0, void 0).ser(se_CreateDirectConnectGatewayAttachmentCommand).de(de_CreateDirectConnectGatewayAttachmentCommand).build() { static { __name(this, "CreateDirectConnectGatewayAttachmentCommand"); }}; // src/commands/CreateGlobalNetworkCommand.ts var CreateGlobalNetworkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "CreateGlobalNetwork", {}).n("NetworkManagerClient", "CreateGlobalNetworkCommand").f(void 0, void 0).ser(se_CreateGlobalNetworkCommand).de(de_CreateGlobalNetworkCommand).build() { static { __name(this, "CreateGlobalNetworkCommand"); }}; // src/commands/CreateLinkCommand.ts var CreateLinkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "CreateLink", {}).n("NetworkManagerClient", "CreateLinkCommand").f(void 0, void 0).ser(se_CreateLinkCommand).de(de_CreateLinkCommand).build() { static { __name(this, "CreateLinkCommand"); }}; // src/commands/CreateSiteCommand.ts var CreateSiteCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "CreateSite", {}).n("NetworkManagerClient", "CreateSiteCommand").f(CreateSiteRequestFilterSensitiveLog, CreateSiteResponseFilterSensitiveLog).ser(se_CreateSiteCommand).de(de_CreateSiteCommand).build() { static { __name(this, "CreateSiteCommand"); }}; // src/commands/CreateSiteToSiteVpnAttachmentCommand.ts var CreateSiteToSiteVpnAttachmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "CreateSiteToSiteVpnAttachment", {}).n("NetworkManagerClient", "CreateSiteToSiteVpnAttachmentCommand").f(void 0, void 0).ser(se_CreateSiteToSiteVpnAttachmentCommand).de(de_CreateSiteToSiteVpnAttachmentCommand).build() { static { __name(this, "CreateSiteToSiteVpnAttachmentCommand"); }}; // src/commands/CreateTransitGatewayPeeringCommand.ts var CreateTransitGatewayPeeringCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "CreateTransitGatewayPeering", {}).n("NetworkManagerClient", "CreateTransitGatewayPeeringCommand").f(void 0, void 0).ser(se_CreateTransitGatewayPeeringCommand).de(de_CreateTransitGatewayPeeringCommand).build() { static { __name(this, "CreateTransitGatewayPeeringCommand"); }}; // src/commands/CreateTransitGatewayRouteTableAttachmentCommand.ts var CreateTransitGatewayRouteTableAttachmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "CreateTransitGatewayRouteTableAttachment", {}).n("NetworkManagerClient", "CreateTransitGatewayRouteTableAttachmentCommand").f(void 0, void 0).ser(se_CreateTransitGatewayRouteTableAttachmentCommand).de(de_CreateTransitGatewayRouteTableAttachmentCommand).build() { static { __name(this, "CreateTransitGatewayRouteTableAttachmentCommand"); }}; // src/commands/CreateVpcAttachmentCommand.ts var CreateVpcAttachmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "CreateVpcAttachment", {}).n("NetworkManagerClient", "CreateVpcAttachmentCommand").f(void 0, void 0).ser(se_CreateVpcAttachmentCommand).de(de_CreateVpcAttachmentCommand).build() { static { __name(this, "CreateVpcAttachmentCommand"); }}; // src/commands/DeleteAttachmentCommand.ts var DeleteAttachmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "DeleteAttachment", {}).n("NetworkManagerClient", "DeleteAttachmentCommand").f(void 0, void 0).ser(se_DeleteAttachmentCommand).de(de_DeleteAttachmentCommand).build() { static { __name(this, "DeleteAttachmentCommand"); }}; // src/commands/DeleteConnectionCommand.ts var DeleteConnectionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "DeleteConnection", {}).n("NetworkManagerClient", "DeleteConnectionCommand").f(void 0, void 0).ser(se_DeleteConnectionCommand).de(de_DeleteConnectionCommand).build() { static { __name(this, "DeleteConnectionCommand"); }}; // src/commands/DeleteConnectPeerCommand.ts var DeleteConnectPeerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "DeleteConnectPeer", {}).n("NetworkManagerClient", "DeleteConnectPeerCommand").f(void 0, void 0).ser(se_DeleteConnectPeerCommand).de(de_DeleteConnectPeerCommand).build() { static { __name(this, "DeleteConnectPeerCommand"); }}; // src/commands/DeleteCoreNetworkCommand.ts var DeleteCoreNetworkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "DeleteCoreNetwork", {}).n("NetworkManagerClient", "DeleteCoreNetworkCommand").f(void 0, void 0).ser(se_DeleteCoreNetworkCommand).de(de_DeleteCoreNetworkCommand).build() { static { __name(this, "DeleteCoreNetworkCommand"); }}; // src/commands/DeleteCoreNetworkPolicyVersionCommand.ts var DeleteCoreNetworkPolicyVersionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "DeleteCoreNetworkPolicyVersion", {}).n("NetworkManagerClient", "DeleteCoreNetworkPolicyVersionCommand").f(void 0, void 0).ser(se_DeleteCoreNetworkPolicyVersionCommand).de(de_DeleteCoreNetworkPolicyVersionCommand).build() { static { __name(this, "DeleteCoreNetworkPolicyVersionCommand"); }}; // src/commands/DeleteDeviceCommand.ts var DeleteDeviceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "DeleteDevice", {}).n("NetworkManagerClient", "DeleteDeviceCommand").f(void 0, DeleteDeviceResponseFilterSensitiveLog).ser(se_DeleteDeviceCommand).de(de_DeleteDeviceCommand).build() { static { __name(this, "DeleteDeviceCommand"); }}; // src/commands/DeleteGlobalNetworkCommand.ts var DeleteGlobalNetworkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "DeleteGlobalNetwork", {}).n("NetworkManagerClient", "DeleteGlobalNetworkCommand").f(void 0, void 0).ser(se_DeleteGlobalNetworkCommand).de(de_DeleteGlobalNetworkCommand).build() { static { __name(this, "DeleteGlobalNetworkCommand"); }}; // src/commands/DeleteLinkCommand.ts var DeleteLinkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "DeleteLink", {}).n("NetworkManagerClient", "DeleteLinkCommand").f(void 0, void 0).ser(se_DeleteLinkCommand).de(de_DeleteLinkCommand).build() { static { __name(this, "DeleteLinkCommand"); }}; // src/commands/DeletePeeringCommand.ts var DeletePeeringCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "DeletePeering", {}).n("NetworkManagerClient", "DeletePeeringCommand").f(void 0, void 0).ser(se_DeletePeeringCommand).de(de_DeletePeeringCommand).build() { static { __name(this, "DeletePeeringCommand"); }}; // src/commands/DeleteResourcePolicyCommand.ts var DeleteResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "DeleteResourcePolicy", {}).n("NetworkManagerClient", "DeleteResourcePolicyCommand").f(void 0, void 0).ser(se_DeleteResourcePolicyCommand).de(de_DeleteResourcePolicyCommand).build() { static { __name(this, "DeleteResourcePolicyCommand"); }}; // src/commands/DeleteSiteCommand.ts var DeleteSiteCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "DeleteSite", {}).n("NetworkManagerClient", "DeleteSiteCommand").f(void 0, DeleteSiteResponseFilterSensitiveLog).ser(se_DeleteSiteCommand).de(de_DeleteSiteCommand).build() { static { __name(this, "DeleteSiteCommand"); }}; // src/commands/DeregisterTransitGatewayCommand.ts var DeregisterTransitGatewayCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "DeregisterTransitGateway", {}).n("NetworkManagerClient", "DeregisterTransitGatewayCommand").f(void 0, void 0).ser(se_DeregisterTransitGatewayCommand).de(de_DeregisterTransitGatewayCommand).build() { static { __name(this, "DeregisterTransitGatewayCommand"); }}; // src/commands/DescribeGlobalNetworksCommand.ts var DescribeGlobalNetworksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "DescribeGlobalNetworks", {}).n("NetworkManagerClient", "DescribeGlobalNetworksCommand").f(void 0, void 0).ser(se_DescribeGlobalNetworksCommand).de(de_DescribeGlobalNetworksCommand).build() { static { __name(this, "DescribeGlobalNetworksCommand"); }}; // src/commands/DisassociateConnectPeerCommand.ts var DisassociateConnectPeerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "DisassociateConnectPeer", {}).n("NetworkManagerClient", "DisassociateConnectPeerCommand").f(void 0, void 0).ser(se_DisassociateConnectPeerCommand).de(de_DisassociateConnectPeerCommand).build() { static { __name(this, "DisassociateConnectPeerCommand"); }}; // src/commands/DisassociateCustomerGatewayCommand.ts var DisassociateCustomerGatewayCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "DisassociateCustomerGateway", {}).n("NetworkManagerClient", "DisassociateCustomerGatewayCommand").f(void 0, void 0).ser(se_DisassociateCustomerGatewayCommand).de(de_DisassociateCustomerGatewayCommand).build() { static { __name(this, "DisassociateCustomerGatewayCommand"); }}; // src/commands/DisassociateLinkCommand.ts var DisassociateLinkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "DisassociateLink", {}).n("NetworkManagerClient", "DisassociateLinkCommand").f(void 0, void 0).ser(se_DisassociateLinkCommand).de(de_DisassociateLinkCommand).build() { static { __name(this, "DisassociateLinkCommand"); }}; // src/commands/DisassociateTransitGatewayConnectPeerCommand.ts var DisassociateTransitGatewayConnectPeerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "DisassociateTransitGatewayConnectPeer", {}).n("NetworkManagerClient", "DisassociateTransitGatewayConnectPeerCommand").f(void 0, void 0).ser(se_DisassociateTransitGatewayConnectPeerCommand).de(de_DisassociateTransitGatewayConnectPeerCommand).build() { static { __name(this, "DisassociateTransitGatewayConnectPeerCommand"); }}; // src/commands/ExecuteCoreNetworkChangeSetCommand.ts var ExecuteCoreNetworkChangeSetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "ExecuteCoreNetworkChangeSet", {}).n("NetworkManagerClient", "ExecuteCoreNetworkChangeSetCommand").f(void 0, void 0).ser(se_ExecuteCoreNetworkChangeSetCommand).de(de_ExecuteCoreNetworkChangeSetCommand).build() { static { __name(this, "ExecuteCoreNetworkChangeSetCommand"); }}; // src/commands/GetConnectAttachmentCommand.ts var GetConnectAttachmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "GetConnectAttachment", {}).n("NetworkManagerClient", "GetConnectAttachmentCommand").f(void 0, void 0).ser(se_GetConnectAttachmentCommand).de(de_GetConnectAttachmentCommand).build() { static { __name(this, "GetConnectAttachmentCommand"); }}; // src/commands/GetConnectionsCommand.ts var GetConnectionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "GetConnections", {}).n("NetworkManagerClient", "GetConnectionsCommand").f(void 0, void 0).ser(se_GetConnectionsCommand).de(de_GetConnectionsCommand).build() { static { __name(this, "GetConnectionsCommand"); }}; // src/commands/GetConnectPeerAssociationsCommand.ts var GetConnectPeerAssociationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "GetConnectPeerAssociations", {}).n("NetworkManagerClient", "GetConnectPeerAssociationsCommand").f(void 0, void 0).ser(se_GetConnectPeerAssociationsCommand).de(de_GetConnectPeerAssociationsCommand).build() { static { __name(this, "GetConnectPeerAssociationsCommand"); }}; // src/commands/GetConnectPeerCommand.ts var GetConnectPeerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "GetConnectPeer", {}).n("NetworkManagerClient", "GetConnectPeerCommand").f(void 0, void 0).ser(se_GetConnectPeerCommand).de(de_GetConnectPeerCommand).build() { static { __name(this, "GetConnectPeerCommand"); }}; // src/commands/GetCoreNetworkChangeEventsCommand.ts var GetCoreNetworkChangeEventsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "GetCoreNetworkChangeEvents", {}).n("NetworkManagerClient", "GetCoreNetworkChangeEventsCommand").f(void 0, void 0).ser(se_GetCoreNetworkChangeEventsCommand).de(de_GetCoreNetworkChangeEventsCommand).build() { static { __name(this, "GetCoreNetworkChangeEventsCommand"); }}; // src/commands/GetCoreNetworkChangeSetCommand.ts var GetCoreNetworkChangeSetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "GetCoreNetworkChangeSet", {}).n("NetworkManagerClient", "GetCoreNetworkChangeSetCommand").f(void 0, void 0).ser(se_GetCoreNetworkChangeSetCommand).de(de_GetCoreNetworkChangeSetCommand).build() { static { __name(this, "GetCoreNetworkChangeSetCommand"); }}; // src/commands/GetCoreNetworkCommand.ts var GetCoreNetworkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "GetCoreNetwork", {}).n("NetworkManagerClient", "GetCoreNetworkCommand").f(void 0, void 0).ser(se_GetCoreNetworkCommand).de(de_GetCoreNetworkCommand).build() { static { __name(this, "GetCoreNetworkCommand"); }}; // src/commands/GetCoreNetworkPolicyCommand.ts var GetCoreNetworkPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "GetCoreNetworkPolicy", {}).n("NetworkManagerClient", "GetCoreNetworkPolicyCommand").f(void 0, void 0).ser(se_GetCoreNetworkPolicyCommand).de(de_GetCoreNetworkPolicyCommand).build() { static { __name(this, "GetCoreNetworkPolicyCommand"); }}; // src/commands/GetCustomerGatewayAssociationsCommand.ts var GetCustomerGatewayAssociationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "GetCustomerGatewayAssociations", {}).n("NetworkManagerClient", "GetCustomerGatewayAssociationsCommand").f(void 0, void 0).ser(se_GetCustomerGatewayAssociationsCommand).de(de_GetCustomerGatewayAssociationsCommand).build() { static { __name(this, "GetCustomerGatewayAssociationsCommand"); }}; // src/commands/GetDevicesCommand.ts var GetDevicesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "GetDevices", {}).n("NetworkManagerClient", "GetDevicesCommand").f(void 0, GetDevicesResponseFilterSensitiveLog).ser(se_GetDevicesCommand).de(de_GetDevicesCommand).build() { static { __name(this, "GetDevicesCommand"); }}; // src/commands/GetDirectConnectGatewayAttachmentCommand.ts var GetDirectConnectGatewayAttachmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "GetDirectConnectGatewayAttachment", {}).n("NetworkManagerClient", "GetDirectConnectGatewayAttachmentCommand").f(void 0, void 0).ser(se_GetDirectConnectGatewayAttachmentCommand).de(de_GetDirectConnectGatewayAttachmentCommand).build() { static { __name(this, "GetDirectConnectGatewayAttachmentCommand"); }}; // src/commands/GetLinkAssociationsCommand.ts var GetLinkAssociationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "GetLinkAssociations", {}).n("NetworkManagerClient", "GetLinkAssociationsCommand").f(void 0, void 0).ser(se_GetLinkAssociationsCommand).de(de_GetLinkAssociationsCommand).build() { static { __name(this, "GetLinkAssociationsCommand"); }}; // src/commands/GetLinksCommand.ts var GetLinksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "GetLinks", {}).n("NetworkManagerClient", "GetLinksCommand").f(void 0, void 0).ser(se_GetLinksCommand).de(de_GetLinksCommand).build() { static { __name(this, "GetLinksCommand"); }}; // src/commands/GetNetworkResourceCountsCommand.ts var GetNetworkResourceCountsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "GetNetworkResourceCounts", {}).n("NetworkManagerClient", "GetNetworkResourceCountsCommand").f(void 0, void 0).ser(se_GetNetworkResourceCountsCommand).de(de_GetNetworkResourceCountsCommand).build() { static { __name(this, "GetNetworkResourceCountsCommand"); }}; // src/commands/GetNetworkResourceRelationshipsCommand.ts var GetNetworkResourceRelationshipsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "GetNetworkResourceRelationships", {}).n("NetworkManagerClient", "GetNetworkResourceRelationshipsCommand").f(void 0, void 0).ser(se_GetNetworkResourceRelationshipsCommand).de(de_GetNetworkResourceRelationshipsCommand).build() { static { __name(this, "GetNetworkResourceRelationshipsCommand"); }}; // src/commands/GetNetworkResourcesCommand.ts var GetNetworkResourcesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "GetNetworkResources", {}).n("NetworkManagerClient", "GetNetworkResourcesCommand").f(void 0, void 0).ser(se_GetNetworkResourcesCommand).de(de_GetNetworkResourcesCommand).build() { static { __name(this, "GetNetworkResourcesCommand"); }}; // src/commands/GetNetworkRoutesCommand.ts var GetNetworkRoutesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "GetNetworkRoutes", {}).n("NetworkManagerClient", "GetNetworkRoutesCommand").f(void 0, void 0).ser(se_GetNetworkRoutesCommand).de(de_GetNetworkRoutesCommand).build() { static { __name(this, "GetNetworkRoutesCommand"); }}; // src/commands/GetNetworkTelemetryCommand.ts var GetNetworkTelemetryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "GetNetworkTelemetry", {}).n("NetworkManagerClient", "GetNetworkTelemetryCommand").f(void 0, void 0).ser(se_GetNetworkTelemetryCommand).de(de_GetNetworkTelemetryCommand).build() { static { __name(this, "GetNetworkTelemetryCommand"); }}; // src/commands/GetResourcePolicyCommand.ts var GetResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "GetResourcePolicy", {}).n("NetworkManagerClient", "GetResourcePolicyCommand").f(void 0, void 0).ser(se_GetResourcePolicyCommand).de(de_GetResourcePolicyCommand).build() { static { __name(this, "GetResourcePolicyCommand"); }}; // src/commands/GetRouteAnalysisCommand.ts var GetRouteAnalysisCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "GetRouteAnalysis", {}).n("NetworkManagerClient", "GetRouteAnalysisCommand").f(void 0, void 0).ser(se_GetRouteAnalysisCommand).de(de_GetRouteAnalysisCommand).build() { static { __name(this, "GetRouteAnalysisCommand"); }}; // src/commands/GetSitesCommand.ts var GetSitesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "GetSites", {}).n("NetworkManagerClient", "GetSitesCommand").f(void 0, GetSitesResponseFilterSensitiveLog).ser(se_GetSitesCommand).de(de_GetSitesCommand).build() { static { __name(this, "GetSitesCommand"); }}; // src/commands/GetSiteToSiteVpnAttachmentCommand.ts var GetSiteToSiteVpnAttachmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "GetSiteToSiteVpnAttachment", {}).n("NetworkManagerClient", "GetSiteToSiteVpnAttachmentCommand").f(void 0, void 0).ser(se_GetSiteToSiteVpnAttachmentCommand).de(de_GetSiteToSiteVpnAttachmentCommand).build() { static { __name(this, "GetSiteToSiteVpnAttachmentCommand"); }}; // src/commands/GetTransitGatewayConnectPeerAssociationsCommand.ts var GetTransitGatewayConnectPeerAssociationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "GetTransitGatewayConnectPeerAssociations", {}).n("NetworkManagerClient", "GetTransitGatewayConnectPeerAssociationsCommand").f(void 0, void 0).ser(se_GetTransitGatewayConnectPeerAssociationsCommand).de(de_GetTransitGatewayConnectPeerAssociationsCommand).build() { static { __name(this, "GetTransitGatewayConnectPeerAssociationsCommand"); }}; // src/commands/GetTransitGatewayPeeringCommand.ts var GetTransitGatewayPeeringCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "GetTransitGatewayPeering", {}).n("NetworkManagerClient", "GetTransitGatewayPeeringCommand").f(void 0, void 0).ser(se_GetTransitGatewayPeeringCommand).de(de_GetTransitGatewayPeeringCommand).build() { static { __name(this, "GetTransitGatewayPeeringCommand"); }}; // src/commands/GetTransitGatewayRegistrationsCommand.ts var GetTransitGatewayRegistrationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "GetTransitGatewayRegistrations", {}).n("NetworkManagerClient", "GetTransitGatewayRegistrationsCommand").f(void 0, void 0).ser(se_GetTransitGatewayRegistrationsCommand).de(de_GetTransitGatewayRegistrationsCommand).build() { static { __name(this, "GetTransitGatewayRegistrationsCommand"); }}; // src/commands/GetTransitGatewayRouteTableAttachmentCommand.ts var GetTransitGatewayRouteTableAttachmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "GetTransitGatewayRouteTableAttachment", {}).n("NetworkManagerClient", "GetTransitGatewayRouteTableAttachmentCommand").f(void 0, void 0).ser(se_GetTransitGatewayRouteTableAttachmentCommand).de(de_GetTransitGatewayRouteTableAttachmentCommand).build() { static { __name(this, "GetTransitGatewayRouteTableAttachmentCommand"); }}; // src/commands/GetVpcAttachmentCommand.ts var GetVpcAttachmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "GetVpcAttachment", {}).n("NetworkManagerClient", "GetVpcAttachmentCommand").f(void 0, void 0).ser(se_GetVpcAttachmentCommand).de(de_GetVpcAttachmentCommand).build() { static { __name(this, "GetVpcAttachmentCommand"); }}; // src/commands/ListAttachmentsCommand.ts var ListAttachmentsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "ListAttachments", {}).n("NetworkManagerClient", "ListAttachmentsCommand").f(void 0, void 0).ser(se_ListAttachmentsCommand).de(de_ListAttachmentsCommand).build() { static { __name(this, "ListAttachmentsCommand"); }}; // src/commands/ListConnectPeersCommand.ts var ListConnectPeersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "ListConnectPeers", {}).n("NetworkManagerClient", "ListConnectPeersCommand").f(void 0, void 0).ser(se_ListConnectPeersCommand).de(de_ListConnectPeersCommand).build() { static { __name(this, "ListConnectPeersCommand"); }}; // src/commands/ListCoreNetworkPolicyVersionsCommand.ts var ListCoreNetworkPolicyVersionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "ListCoreNetworkPolicyVersions", {}).n("NetworkManagerClient", "ListCoreNetworkPolicyVersionsCommand").f(void 0, void 0).ser(se_ListCoreNetworkPolicyVersionsCommand).de(de_ListCoreNetworkPolicyVersionsCommand).build() { static { __name(this, "ListCoreNetworkPolicyVersionsCommand"); }}; // src/commands/ListCoreNetworksCommand.ts var ListCoreNetworksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "ListCoreNetworks", {}).n("NetworkManagerClient", "ListCoreNetworksCommand").f(void 0, void 0).ser(se_ListCoreNetworksCommand).de(de_ListCoreNetworksCommand).build() { static { __name(this, "ListCoreNetworksCommand"); }}; // src/commands/ListOrganizationServiceAccessStatusCommand.ts var ListOrganizationServiceAccessStatusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "ListOrganizationServiceAccessStatus", {}).n("NetworkManagerClient", "ListOrganizationServiceAccessStatusCommand").f(void 0, void 0).ser(se_ListOrganizationServiceAccessStatusCommand).de(de_ListOrganizationServiceAccessStatusCommand).build() { static { __name(this, "ListOrganizationServiceAccessStatusCommand"); }}; // src/commands/ListPeeringsCommand.ts var ListPeeringsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "ListPeerings", {}).n("NetworkManagerClient", "ListPeeringsCommand").f(void 0, void 0).ser(se_ListPeeringsCommand).de(de_ListPeeringsCommand).build() { static { __name(this, "ListPeeringsCommand"); }}; // src/commands/ListTagsForResourceCommand.ts var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "ListTagsForResource", {}).n("NetworkManagerClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() { static { __name(this, "ListTagsForResourceCommand"); }}; // src/commands/PutCoreNetworkPolicyCommand.ts var PutCoreNetworkPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "PutCoreNetworkPolicy", {}).n("NetworkManagerClient", "PutCoreNetworkPolicyCommand").f(void 0, void 0).ser(se_PutCoreNetworkPolicyCommand).de(de_PutCoreNetworkPolicyCommand).build() { static { __name(this, "PutCoreNetworkPolicyCommand"); }}; // src/commands/PutResourcePolicyCommand.ts var PutResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "PutResourcePolicy", {}).n("NetworkManagerClient", "PutResourcePolicyCommand").f(void 0, void 0).ser(se_PutResourcePolicyCommand).de(de_PutResourcePolicyCommand).build() { static { __name(this, "PutResourcePolicyCommand"); }}; // src/commands/RegisterTransitGatewayCommand.ts var RegisterTransitGatewayCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "RegisterTransitGateway", {}).n("NetworkManagerClient", "RegisterTransitGatewayCommand").f(void 0, void 0).ser(se_RegisterTransitGatewayCommand).de(de_RegisterTransitGatewayCommand).build() { static { __name(this, "RegisterTransitGatewayCommand"); }}; // src/commands/RejectAttachmentCommand.ts var RejectAttachmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "RejectAttachment", {}).n("NetworkManagerClient", "RejectAttachmentCommand").f(void 0, void 0).ser(se_RejectAttachmentCommand).de(de_RejectAttachmentCommand).build() { static { __name(this, "RejectAttachmentCommand"); }}; // src/commands/RestoreCoreNetworkPolicyVersionCommand.ts var RestoreCoreNetworkPolicyVersionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "RestoreCoreNetworkPolicyVersion", {}).n("NetworkManagerClient", "RestoreCoreNetworkPolicyVersionCommand").f(void 0, void 0).ser(se_RestoreCoreNetworkPolicyVersionCommand).de(de_RestoreCoreNetworkPolicyVersionCommand).build() { static { __name(this, "RestoreCoreNetworkPolicyVersionCommand"); }}; // src/commands/StartOrganizationServiceAccessUpdateCommand.ts var StartOrganizationServiceAccessUpdateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "StartOrganizationServiceAccessUpdate", {}).n("NetworkManagerClient", "StartOrganizationServiceAccessUpdateCommand").f(void 0, void 0).ser(se_StartOrganizationServiceAccessUpdateCommand).de(de_StartOrganizationServiceAccessUpdateCommand).build() { static { __name(this, "StartOrganizationServiceAccessUpdateCommand"); }}; // src/commands/StartRouteAnalysisCommand.ts var StartRouteAnalysisCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "StartRouteAnalysis", {}).n("NetworkManagerClient", "StartRouteAnalysisCommand").f(void 0, void 0).ser(se_StartRouteAnalysisCommand).de(de_StartRouteAnalysisCommand).build() { static { __name(this, "StartRouteAnalysisCommand"); }}; // src/commands/TagResourceCommand.ts var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "TagResource", {}).n("NetworkManagerClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() { static { __name(this, "TagResourceCommand"); }}; // src/commands/UntagResourceCommand.ts var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "UntagResource", {}).n("NetworkManagerClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() { static { __name(this, "UntagResourceCommand"); }}; // src/commands/UpdateConnectionCommand.ts var UpdateConnectionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "UpdateConnection", {}).n("NetworkManagerClient", "UpdateConnectionCommand").f(void 0, void 0).ser(se_UpdateConnectionCommand).de(de_UpdateConnectionCommand).build() { static { __name(this, "UpdateConnectionCommand"); }}; // src/commands/UpdateCoreNetworkCommand.ts var UpdateCoreNetworkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "UpdateCoreNetwork", {}).n("NetworkManagerClient", "UpdateCoreNetworkCommand").f(void 0, void 0).ser(se_UpdateCoreNetworkCommand).de(de_UpdateCoreNetworkCommand).build() { static { __name(this, "UpdateCoreNetworkCommand"); }}; // src/commands/UpdateDeviceCommand.ts var UpdateDeviceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "UpdateDevice", {}).n("NetworkManagerClient", "UpdateDeviceCommand").f(UpdateDeviceRequestFilterSensitiveLog, UpdateDeviceResponseFilterSensitiveLog).ser(se_UpdateDeviceCommand).de(de_UpdateDeviceCommand).build() { static { __name(this, "UpdateDeviceCommand"); }}; // src/commands/UpdateDirectConnectGatewayAttachmentCommand.ts var UpdateDirectConnectGatewayAttachmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "UpdateDirectConnectGatewayAttachment", {}).n("NetworkManagerClient", "UpdateDirectConnectGatewayAttachmentCommand").f(void 0, void 0).ser(se_UpdateDirectConnectGatewayAttachmentCommand).de(de_UpdateDirectConnectGatewayAttachmentCommand).build() { static { __name(this, "UpdateDirectConnectGatewayAttachmentCommand"); }}; // src/commands/UpdateGlobalNetworkCommand.ts var UpdateGlobalNetworkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "UpdateGlobalNetwork", {}).n("NetworkManagerClient", "UpdateGlobalNetworkCommand").f(void 0, void 0).ser(se_UpdateGlobalNetworkCommand).de(de_UpdateGlobalNetworkCommand).build() { static { __name(this, "UpdateGlobalNetworkCommand"); }}; // src/commands/UpdateLinkCommand.ts var UpdateLinkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "UpdateLink", {}).n("NetworkManagerClient", "UpdateLinkCommand").f(void 0, void 0).ser(se_UpdateLinkCommand).de(de_UpdateLinkCommand).build() { static { __name(this, "UpdateLinkCommand"); }}; // src/commands/UpdateNetworkResourceMetadataCommand.ts var UpdateNetworkResourceMetadataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "UpdateNetworkResourceMetadata", {}).n("NetworkManagerClient", "UpdateNetworkResourceMetadataCommand").f(void 0, void 0).ser(se_UpdateNetworkResourceMetadataCommand).de(de_UpdateNetworkResourceMetadataCommand).build() { static { __name(this, "UpdateNetworkResourceMetadataCommand"); }}; // src/commands/UpdateSiteCommand.ts var UpdateSiteCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "UpdateSite", {}).n("NetworkManagerClient", "UpdateSiteCommand").f(UpdateSiteRequestFilterSensitiveLog, UpdateSiteResponseFilterSensitiveLog).ser(se_UpdateSiteCommand).de(de_UpdateSiteCommand).build() { static { __name(this, "UpdateSiteCommand"); }}; // src/commands/UpdateVpcAttachmentCommand.ts var UpdateVpcAttachmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("NetworkManager", "UpdateVpcAttachment", {}).n("NetworkManagerClient", "UpdateVpcAttachmentCommand").f(void 0, void 0).ser(se_UpdateVpcAttachmentCommand).de(de_UpdateVpcAttachmentCommand).build() { static { __name(this, "UpdateVpcAttachmentCommand"); }}; // src/NetworkManager.tsvar commands = { AcceptAttachmentCommand, AssociateConnectPeerCommand, AssociateCustomerGatewayCommand, AssociateLinkCommand, AssociateTransitGatewayConnectPeerCommand, CreateConnectAttachmentCommand, CreateConnectionCommand, CreateConnectPeerCommand, CreateCoreNetworkCommand, CreateDeviceCommand, CreateDirectConnectGatewayAttachmentCommand, CreateGlobalNetworkCommand, CreateLinkCommand, CreateSiteCommand, CreateSiteToSiteVpnAttachmentCommand, CreateTransitGatewayPeeringCommand, CreateTransitGatewayRouteTableAttachmentCommand, CreateVpcAttachmentCommand, DeleteAttachmentCommand, DeleteConnectionCommand, DeleteConnectPeerCommand, DeleteCoreNetworkCommand, DeleteCoreNetworkPolicyVersionCommand, DeleteDeviceCommand, DeleteGlobalNetworkCommand, DeleteLinkCommand, DeletePeeringCommand, DeleteResourcePolicyCommand, DeleteSiteCommand, DeregisterTransitGatewayCommand, DescribeGlobalNetworksCommand, DisassociateConnectPeerCommand, DisassociateCustomerGatewayCommand, DisassociateLinkCommand, DisassociateTransitGatewayConnectPeerCommand, ExecuteCoreNetworkChangeSetCommand, GetConnectAttachmentCommand, GetConnectionsCommand, GetConnectPeerCommand, GetConnectPeerAssociationsCommand, GetCoreNetworkCommand, GetCoreNetworkChangeEventsCommand, GetCoreNetworkChangeSetCommand, GetCoreNetworkPolicyCommand, GetCustomerGatewayAssociationsCommand, GetDevicesCommand, GetDirectConnectGatewayAttachmentCommand, GetLinkAssociationsCommand, GetLinksCommand, GetNetworkResourceCountsCommand, GetNetworkResourceRelationshipsCommand, GetNetworkResourcesCommand, GetNetworkRoutesCommand, GetNetworkTelemetryCommand, GetResourcePolicyCommand, GetRouteAnalysisCommand, GetSitesCommand, GetSiteToSiteVpnAttachmentCommand, GetTransitGatewayConnectPeerAssociationsCommand, GetTransitGatewayPeeringCommand, GetTransitGatewayRegistrationsCommand, GetTransitGatewayRouteTableAttachmentCommand, GetVpcAttachmentCommand, ListAttachmentsCommand, ListConnectPeersCommand, ListCoreNetworkPolicyVersionsCommand, ListCoreNetworksCommand, ListOrganizationServiceAccessStatusCommand, ListPeeringsCommand, ListTagsForResourceCommand, PutCoreNetworkPolicyCommand, PutResourcePolicyCommand, RegisterTransitGatewayCommand, RejectAttachmentCommand, RestoreCoreNetworkPolicyVersionCommand, StartOrganizationServiceAccessUpdateCommand, StartRouteAnalysisCommand, TagResourceCommand, UntagResourceCommand, UpdateConnectionCommand, UpdateCoreNetworkCommand, UpdateDeviceCommand, UpdateDirectConnectGatewayAttachmentCommand, UpdateGlobalNetworkCommand, UpdateLinkCommand, UpdateNetworkResourceMetadataCommand, UpdateSiteCommand, UpdateVpcAttachmentCommand};var NetworkManager = class extends NetworkManagerClient { static { __name(this, "NetworkManager"); }};(0, import_smithy_client.createAggregatedClient)(commands, NetworkManager); // src/pagination/DescribeGlobalNetworksPaginator.ts var paginateDescribeGlobalNetworks = (0, import_core.createPaginator)(NetworkManagerClient, DescribeGlobalNetworksCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/GetConnectPeerAssociationsPaginator.ts var paginateGetConnectPeerAssociations = (0, import_core.createPaginator)(NetworkManagerClient, GetConnectPeerAssociationsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/GetConnectionsPaginator.ts var paginateGetConnections = (0, import_core.createPaginator)(NetworkManagerClient, GetConnectionsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/GetCoreNetworkChangeEventsPaginator.ts var paginateGetCoreNetworkChangeEvents = (0, import_core.createPaginator)(NetworkManagerClient, GetCoreNetworkChangeEventsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/GetCoreNetworkChangeSetPaginator.ts var paginateGetCoreNetworkChangeSet = (0, import_core.createPaginator)(NetworkManagerClient, GetCoreNetworkChangeSetCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/GetCustomerGatewayAssociationsPaginator.ts var paginateGetCustomerGatewayAssociations = (0, import_core.createPaginator)(NetworkManagerClient, GetCustomerGatewayAssociationsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/GetDevicesPaginator.ts var paginateGetDevices = (0, import_core.createPaginator)(NetworkManagerClient, GetDevicesCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/GetLinkAssociationsPaginator.ts var paginateGetLinkAssociations = (0, import_core.createPaginator)(NetworkManagerClient, GetLinkAssociationsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/GetLinksPaginator.ts var paginateGetLinks = (0, import_core.createPaginator)(NetworkManagerClient, GetLinksCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/GetNetworkResourceCountsPaginator.ts var paginateGetNetworkResourceCounts = (0, import_core.createPaginator)(NetworkManagerClient, GetNetworkResourceCountsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/GetNetworkResourceRelationshipsPaginator.ts var paginateGetNetworkResourceRelationships = (0, import_core.createPaginator)(NetworkManagerClient, GetNetworkResourceRelationshipsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/GetNetworkResourcesPaginator.ts var paginateGetNetworkResources = (0, import_core.createPaginator)(NetworkManagerClient, GetNetworkResourcesCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/GetNetworkTelemetryPaginator.ts var paginateGetNetworkTelemetry = (0, import_core.createPaginator)(NetworkManagerClient, GetNetworkTelemetryCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/GetSitesPaginator.ts var paginateGetSites = (0, import_core.createPaginator)(NetworkManagerClient, GetSitesCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/GetTransitGatewayConnectPeerAssociationsPaginator.ts var paginateGetTransitGatewayConnectPeerAssociations = (0, import_core.createPaginator)(NetworkManagerClient, GetTransitGatewayConnectPeerAssociationsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/GetTransitGatewayRegistrationsPaginator.ts var paginateGetTransitGatewayRegistrations = (0, import_core.createPaginator)(NetworkManagerClient, GetTransitGatewayRegistrationsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListAttachmentsPaginator.ts var paginateListAttachments = (0, import_core.createPaginator)(NetworkManagerClient, ListAttachmentsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListConnectPeersPaginator.ts var paginateListConnectPeers = (0, import_core.createPaginator)(NetworkManagerClient, ListConnectPeersCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListCoreNetworkPolicyVersionsPaginator.ts var paginateListCoreNetworkPolicyVersions = (0, import_core.createPaginator)(NetworkManagerClient, ListCoreNetworkPolicyVersionsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListCoreNetworksPaginator.ts var paginateListCoreNetworks = (0, import_core.createPaginator)(NetworkManagerClient, ListCoreNetworksCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListPeeringsPaginator.ts var paginateListPeerings = (0, import_core.createPaginator)(NetworkManagerClient, ListPeeringsCommand, "NextToken", "NextToken", "MaxResults");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { NetworkManagerServiceException, __Client, NetworkManagerClient, NetworkManager, $Command, AcceptAttachmentCommand, AssociateConnectPeerCommand, AssociateCustomerGatewayCommand, AssociateLinkCommand, AssociateTransitGatewayConnectPeerCommand, CreateConnectAttachmentCommand, CreateConnectPeerCommand, CreateConnectionCommand, CreateCoreNetworkCommand, CreateDeviceCommand, CreateDirectConnectGatewayAttachmentCommand, CreateGlobalNetworkCommand, CreateLinkCommand, CreateSiteCommand, CreateSiteToSiteVpnAttachmentCommand, CreateTransitGatewayPeeringCommand, CreateTransitGatewayRouteTableAttachmentCommand, CreateVpcAttachmentCommand, DeleteAttachmentCommand, DeleteConnectPeerCommand, DeleteConnectionCommand, DeleteCoreNetworkCommand, DeleteCoreNetworkPolicyVersionCommand, DeleteDeviceCommand, DeleteGlobalNetworkCommand, DeleteLinkCommand, DeletePeeringCommand, DeleteResourcePolicyCommand, DeleteSiteCommand, DeregisterTransitGatewayCommand, DescribeGlobalNetworksCommand, DisassociateConnectPeerCommand, DisassociateCustomerGatewayCommand, DisassociateLinkCommand, DisassociateTransitGatewayConnectPeerCommand, ExecuteCoreNetworkChangeSetCommand, GetConnectAttachmentCommand, GetConnectPeerAssociationsCommand, GetConnectPeerCommand, GetConnectionsCommand, GetCoreNetworkChangeEventsCommand, GetCoreNetworkChangeSetCommand, GetCoreNetworkCommand, GetCoreNetworkPolicyCommand, GetCustomerGatewayAssociationsCommand, GetDevicesCommand, GetDirectConnectGatewayAttachmentCommand, GetLinkAssociationsCommand, GetLinksCommand, GetNetworkResourceCountsCommand, GetNetworkResourceRelationshipsCommand, GetNetworkResourcesCommand, GetNetworkRoutesCommand, GetNetworkTelemetryCommand, GetResourcePolicyCommand, GetRouteAnalysisCommand, GetSiteToSiteVpnAttachmentCommand, GetSitesCommand, GetTransitGatewayConnectPeerAssociationsCommand, GetTransitGatewayPeeringCommand, GetTransitGatewayRegistrationsCommand, GetTransitGatewayRouteTableAttachmentCommand, GetVpcAttachmentCommand, ListAttachmentsCommand, ListConnectPeersCommand, ListCoreNetworkPolicyVersionsCommand, ListCoreNetworksCommand, ListOrganizationServiceAccessStatusCommand, ListPeeringsCommand, ListTagsForResourceCommand, PutCoreNetworkPolicyCommand, PutResourcePolicyCommand, RegisterTransitGatewayCommand, RejectAttachmentCommand, RestoreCoreNetworkPolicyVersionCommand, StartOrganizationServiceAccessUpdateCommand, StartRouteAnalysisCommand, TagResourceCommand, UntagResourceCommand, UpdateConnectionCommand, UpdateCoreNetworkCommand, UpdateDeviceCommand, UpdateDirectConnectGatewayAttachmentCommand, UpdateGlobalNetworkCommand, UpdateLinkCommand, UpdateNetworkResourceMetadataCommand, UpdateSiteCommand, UpdateVpcAttachmentCommand, paginateDescribeGlobalNetworks, paginateGetConnectPeerAssociations, paginateGetConnections, paginateGetCoreNetworkChangeEvents, paginateGetCoreNetworkChangeSet, paginateGetCustomerGatewayAssociations, paginateGetDevices, paginateGetLinkAssociations, paginateGetLinks, paginateGetNetworkResourceCounts, paginateGetNetworkResourceRelationships, paginateGetNetworkResources, paginateGetNetworkTelemetry, paginateGetSites, paginateGetTransitGatewayConnectPeerAssociations, paginateGetTransitGatewayRegistrations, paginateListAttachments, paginateListConnectPeers, paginateListCoreNetworkPolicyVersions, paginateListCoreNetworks, paginateListPeerings, AttachmentType, AttachmentErrorCode, AttachmentState, AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationExceptionReason, ValidationException, ConnectPeerAssociationState, ServiceQuotaExceededException, CustomerGatewayAssociationState, LinkAssociationState, TransitGatewayConnectPeerAssociationState, ChangeAction, ChangeSetState, ChangeStatus, ChangeType, TunnelProtocol, ConnectionState, ConnectionStatus, ConnectionType, ConnectPeerErrorCode, ConnectPeerState, CoreNetworkState, SegmentActionServiceInsertion, SendViaMode, CoreNetworkPolicyAlias, CoreNetworkPolicyException, DeviceState, GlobalNetworkState, LinkState, SiteState, PeeringErrorCode, PeeringType, PeeringState, TransitGatewayRegistrationState, RouteState, RouteType, RouteTableType, RouteAnalysisCompletionReasonCode, RouteAnalysisCompletionResultCode, RouteAnalysisStatus, LocationFilterSensitiveLog, CreateDeviceRequestFilterSensitiveLog, DeviceFilterSensitiveLog, CreateDeviceResponseFilterSensitiveLog, CreateSiteRequestFilterSensitiveLog, SiteFilterSensitiveLog, CreateSiteResponseFilterSensitiveLog, DeleteDeviceResponseFilterSensitiveLog, DeleteSiteResponseFilterSensitiveLog, GetDevicesResponseFilterSensitiveLog, GetSitesResponseFilterSensitiveLog, UpdateDeviceRequestFilterSensitiveLog, UpdateDeviceResponseFilterSensitiveLog, UpdateSiteRequestFilterSensitiveLog, UpdateSiteResponseFilterSensitiveLog});