/var/runtime/node_modules/@aws-sdk/client-outposts/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, { AWSServiceName: () => AWSServiceName, AccessDeniedException: () => AccessDeniedException, AddressType: () => AddressType, AssetState: () => AssetState, AssetType: () => AssetType, CancelCapacityTaskCommand: () => CancelCapacityTaskCommand, CancelOrderCommand: () => CancelOrderCommand, CapacityTaskFailureType: () => CapacityTaskFailureType, CapacityTaskStatus: () => CapacityTaskStatus, CatalogItemClass: () => CatalogItemClass, CatalogItemStatus: () => CatalogItemStatus, ComputeAssetState: () => ComputeAssetState, ConflictException: () => ConflictException, CreateOrderCommand: () => CreateOrderCommand, CreateOutpostCommand: () => CreateOutpostCommand, CreateSiteCommand: () => CreateSiteCommand, DeleteOutpostCommand: () => DeleteOutpostCommand, DeleteSiteCommand: () => DeleteSiteCommand, FiberOpticCableType: () => FiberOpticCableType, GetCapacityTaskCommand: () => GetCapacityTaskCommand, GetCatalogItemCommand: () => GetCatalogItemCommand, GetConnectionCommand: () => GetConnectionCommand, GetOrderCommand: () => GetOrderCommand, GetOutpostBillingInformationCommand: () => GetOutpostBillingInformationCommand, GetOutpostCommand: () => GetOutpostCommand, GetOutpostInstanceTypesCommand: () => GetOutpostInstanceTypesCommand, GetOutpostSupportedInstanceTypesCommand: () => GetOutpostSupportedInstanceTypesCommand, GetSiteAddressCommand: () => GetSiteAddressCommand, GetSiteCommand: () => GetSiteCommand, InternalServerException: () => InternalServerException, LineItemStatus: () => LineItemStatus, ListAssetInstancesCommand: () => ListAssetInstancesCommand, ListAssetsCommand: () => ListAssetsCommand, ListBlockingInstancesForCapacityTaskCommand: () => ListBlockingInstancesForCapacityTaskCommand, ListCapacityTasksCommand: () => ListCapacityTasksCommand, ListCatalogItemsCommand: () => ListCatalogItemsCommand, ListOrdersCommand: () => ListOrdersCommand, ListOutpostsCommand: () => ListOutpostsCommand, ListSitesCommand: () => ListSitesCommand, ListTagsForResourceCommand: () => ListTagsForResourceCommand, MaximumSupportedWeightLbs: () => MaximumSupportedWeightLbs, NotFoundException: () => NotFoundException, OpticalStandard: () => OpticalStandard, OrderStatus: () => OrderStatus, OrderType: () => OrderType, Outposts: () => Outposts, OutpostsClient: () => OutpostsClient, OutpostsServiceException: () => OutpostsServiceException, PaymentOption: () => PaymentOption, PaymentTerm: () => PaymentTerm, PowerConnector: () => PowerConnector, PowerDrawKva: () => PowerDrawKva, PowerFeedDrop: () => PowerFeedDrop, PowerPhase: () => PowerPhase, ResourceType: () => ResourceType, ServiceQuotaExceededException: () => ServiceQuotaExceededException, ShipmentCarrier: () => ShipmentCarrier, StartCapacityTaskCommand: () => StartCapacityTaskCommand, StartConnectionCommand: () => StartConnectionCommand, SubscriptionStatus: () => SubscriptionStatus, SubscriptionType: () => SubscriptionType, SupportedHardwareType: () => SupportedHardwareType, SupportedStorageEnum: () => SupportedStorageEnum, TagResourceCommand: () => TagResourceCommand, TaskActionOnBlockingInstances: () => TaskActionOnBlockingInstances, UntagResourceCommand: () => UntagResourceCommand, UpdateOutpostCommand: () => UpdateOutpostCommand, UpdateSiteAddressCommand: () => UpdateSiteAddressCommand, UpdateSiteCommand: () => UpdateSiteCommand, UpdateSiteRackPhysicalPropertiesCommand: () => UpdateSiteRackPhysicalPropertiesCommand, UplinkCount: () => UplinkCount, UplinkGbps: () => UplinkGbps, ValidationException: () => ValidationException, __Client: () => import_smithy_client.Client, paginateGetOutpostBillingInformation: () => paginateGetOutpostBillingInformation, paginateGetOutpostInstanceTypes: () => paginateGetOutpostInstanceTypes, paginateGetOutpostSupportedInstanceTypes: () => paginateGetOutpostSupportedInstanceTypes, paginateListAssetInstances: () => paginateListAssetInstances, paginateListAssets: () => paginateListAssets, paginateListBlockingInstancesForCapacityTask: () => paginateListBlockingInstancesForCapacityTask, paginateListCapacityTasks: () => paginateListCapacityTasks, paginateListCatalogItems: () => paginateListCatalogItems, paginateListOrders: () => paginateListOrders, paginateListOutposts: () => paginateListOutposts, paginateListSites: () => paginateListSites});module.exports = __toCommonJS(index_exports); // src/OutpostsClient.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: "outposts" });}, "resolveClientEndpointParameters");var commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }}; // src/OutpostsClient.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/OutpostsClient.tsvar OutpostsClient = class extends import_smithy_client.Client { static { __name(this, "OutpostsClient"); } /** * The resolved configuration of OutpostsClient class. This is resolved and normalized from the {@link OutpostsClientConfig | 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.defaultOutpostsHttpAuthSchemeParametersProvider, 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/Outposts.ts // src/commands/CancelCapacityTaskCommand.ts var import_middleware_serde = require("@smithy/middleware-serde"); // src/protocols/Aws_restJson1.tsvar import_core2 = require("@aws-sdk/core"); // src/models/OutpostsServiceException.ts var OutpostsServiceException = class _OutpostsServiceException extends import_smithy_client.ServiceException { static { __name(this, "OutpostsServiceException"); } /** * @internal */ constructor(options) { super(options); Object.setPrototypeOf(this, _OutpostsServiceException.prototype); }}; // src/models/models_0.tsvar AccessDeniedException = class _AccessDeniedException extends OutpostsServiceException { 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 AddressType = { OPERATING_ADDRESS: "OPERATING_ADDRESS", SHIPPING_ADDRESS: "SHIPPING_ADDRESS"};var AssetType = { COMPUTE: "COMPUTE"};var ComputeAssetState = { ACTIVE: "ACTIVE", ISOLATED: "ISOLATED", RETIRING: "RETIRING"};var AWSServiceName = { AWS: "AWS", EC2: "EC2", ELASTICACHE: "ELASTICACHE", ELB: "ELB", RDS: "RDS", ROUTE53: "ROUTE53"};var AssetState = { ACTIVE: "ACTIVE", ISOLATED: "ISOLATED", RETIRING: "RETIRING"};var ResourceType = { ORDER: "ORDER", OUTPOST: "OUTPOST"};var ConflictException = class _ConflictException extends OutpostsServiceException { static { __name(this, "ConflictException"); } name = "ConflictException"; $fault = "client"; Message; /** * <p>The ID of the resource causing the conflict.</p> * @public */ ResourceId; /** * <p>The type of the resource causing the conflict.</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 OutpostsServiceException { static { __name(this, "InternalServerException"); } name = "InternalServerException"; $fault = "server"; Message; /** * @internal */ constructor(opts) { super({ name: "InternalServerException", $fault: "server", ...opts }); Object.setPrototypeOf(this, _InternalServerException.prototype); this.Message = opts.Message; }};var NotFoundException = class _NotFoundException extends OutpostsServiceException { static { __name(this, "NotFoundException"); } name = "NotFoundException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "NotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _NotFoundException.prototype); this.Message = opts.Message; }};var ValidationException = class _ValidationException extends OutpostsServiceException { static { __name(this, "ValidationException"); } name = "ValidationException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "ValidationException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ValidationException.prototype); this.Message = opts.Message; }};var CapacityTaskFailureType = { BLOCKING_INSTANCES_NOT_EVACUATED: "BLOCKING_INSTANCES_NOT_EVACUATED", INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR", RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND", UNEXPECTED_ASSET_STATE: "UNEXPECTED_ASSET_STATE", UNSUPPORTED_CAPACITY_CONFIGURATION: "UNSUPPORTED_CAPACITY_CONFIGURATION"};var CapacityTaskStatus = { CANCELLATION_IN_PROGRESS: "CANCELLATION_IN_PROGRESS", CANCELLED: "CANCELLED", COMPLETED: "COMPLETED", FAILED: "FAILED", IN_PROGRESS: "IN_PROGRESS", REQUESTED: "REQUESTED", WAITING_FOR_EVACUATION: "WAITING_FOR_EVACUATION"};var CatalogItemStatus = { AVAILABLE: "AVAILABLE", DISCONTINUED: "DISCONTINUED"};var SupportedStorageEnum = { EBS: "EBS", S3: "S3"};var CatalogItemClass = { RACK: "RACK", SERVER: "SERVER"};var PaymentOption = { ALL_UPFRONT: "ALL_UPFRONT", NO_UPFRONT: "NO_UPFRONT", PARTIAL_UPFRONT: "PARTIAL_UPFRONT"};var PaymentTerm = { FIVE_YEARS: "FIVE_YEARS", ONE_YEAR: "ONE_YEAR", THREE_YEARS: "THREE_YEARS"};var ShipmentCarrier = { DBS: "DBS", DHL: "DHL", EXPEDITORS: "EXPEDITORS", FEDEX: "FEDEX", UPS: "UPS"};var LineItemStatus = { BUILDING: "BUILDING", CANCELLED: "CANCELLED", DELIVERED: "DELIVERED", ERROR: "ERROR", INSTALLED: "INSTALLED", INSTALLING: "INSTALLING", PREPARING: "PREPARING", REPLACED: "REPLACED", SHIPPED: "SHIPPED"};var OrderType = { OUTPOST: "OUTPOST", REPLACEMENT: "REPLACEMENT"};var OrderStatus = { CANCELLED: "CANCELLED", COMPLETED: "COMPLETED", DELIVERED: "DELIVERED", ERROR: "ERROR", FULFILLED: "FULFILLED", INSTALLING: "INSTALLING", IN_PROGRESS: "IN_PROGRESS", PENDING: "PENDING", PREPARING: "PREPARING", PROCESSING: "PROCESSING", RECEIVED: "RECEIVED"};var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends OutpostsServiceException { static { __name(this, "ServiceQuotaExceededException"); } name = "ServiceQuotaExceededException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "ServiceQuotaExceededException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype); this.Message = opts.Message; }};var SupportedHardwareType = { RACK: "RACK", SERVER: "SERVER"};var FiberOpticCableType = { MULTI_MODE: "MULTI_MODE", SINGLE_MODE: "SINGLE_MODE"};var MaximumSupportedWeightLbs = { MAX_1400_LBS: "MAX_1400_LBS", MAX_1600_LBS: "MAX_1600_LBS", MAX_1800_LBS: "MAX_1800_LBS", MAX_2000_LBS: "MAX_2000_LBS", NO_LIMIT: "NO_LIMIT"};var OpticalStandard = { OPTIC_1000BASE_LX: "OPTIC_1000BASE_LX", OPTIC_1000BASE_SX: "OPTIC_1000BASE_SX", OPTIC_100GBASE_CWDM4: "OPTIC_100GBASE_CWDM4", OPTIC_100GBASE_LR4: "OPTIC_100GBASE_LR4", OPTIC_100GBASE_SR4: "OPTIC_100GBASE_SR4", OPTIC_100G_PSM4_MSA: "OPTIC_100G_PSM4_MSA", OPTIC_10GBASE_IR: "OPTIC_10GBASE_IR", OPTIC_10GBASE_LR: "OPTIC_10GBASE_LR", OPTIC_10GBASE_SR: "OPTIC_10GBASE_SR", OPTIC_40GBASE_ESR: "OPTIC_40GBASE_ESR", OPTIC_40GBASE_IR4_LR4L: "OPTIC_40GBASE_IR4_LR4L", OPTIC_40GBASE_LR4: "OPTIC_40GBASE_LR4", OPTIC_40GBASE_SR: "OPTIC_40GBASE_SR"};var PowerConnector = { AH530P7W: "AH530P7W", AH532P6W: "AH532P6W", CS8365C: "CS8365C", IEC309: "IEC309", L6_30P: "L6_30P"};var PowerDrawKva = { POWER_10_KVA: "POWER_10_KVA", POWER_15_KVA: "POWER_15_KVA", POWER_30_KVA: "POWER_30_KVA", POWER_5_KVA: "POWER_5_KVA"};var PowerFeedDrop = { ABOVE_RACK: "ABOVE_RACK", BELOW_RACK: "BELOW_RACK"};var PowerPhase = { SINGLE_PHASE: "SINGLE_PHASE", THREE_PHASE: "THREE_PHASE"};var UplinkCount = { UPLINK_COUNT_1: "UPLINK_COUNT_1", UPLINK_COUNT_12: "UPLINK_COUNT_12", UPLINK_COUNT_16: "UPLINK_COUNT_16", UPLINK_COUNT_2: "UPLINK_COUNT_2", UPLINK_COUNT_3: "UPLINK_COUNT_3", UPLINK_COUNT_4: "UPLINK_COUNT_4", UPLINK_COUNT_5: "UPLINK_COUNT_5", UPLINK_COUNT_6: "UPLINK_COUNT_6", UPLINK_COUNT_7: "UPLINK_COUNT_7", UPLINK_COUNT_8: "UPLINK_COUNT_8"};var UplinkGbps = { UPLINK_100G: "UPLINK_100G", UPLINK_10G: "UPLINK_10G", UPLINK_1G: "UPLINK_1G", UPLINK_40G: "UPLINK_40G"};var TaskActionOnBlockingInstances = { FAIL_TASK: "FAIL_TASK", WAIT_FOR_EVACUATION: "WAIT_FOR_EVACUATION"};var SubscriptionStatus = { ACTIVE: "ACTIVE", CANCELLED: "CANCELLED", INACTIVE: "INACTIVE"};var SubscriptionType = { CAPACITY_INCREASE: "CAPACITY_INCREASE", ORIGINAL: "ORIGINAL", RENEWAL: "RENEWAL"}; // src/protocols/Aws_restJson1.tsvar se_CancelCapacityTaskCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/outposts/{OutpostIdentifier}/capacity/{CapacityTaskId}"); b.p("CapacityTaskId", () => input.CapacityTaskId, "{CapacityTaskId}", false); b.p("OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false); let body; b.m("POST").h(headers).b(body); return b.build();}, "se_CancelCapacityTaskCommand");var se_CancelOrderCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/orders/{OrderId}/cancel"); b.p("OrderId", () => input.OrderId, "{OrderId}", false); let body; b.m("POST").h(headers).b(body); return b.build();}, "se_CancelOrderCommand");var se_CreateOrderCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/orders"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { LineItems: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "LineItems"), OutpostIdentifier: [], PaymentOption: [], PaymentTerm: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateOrderCommand");var se_CreateOutpostCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/outposts"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { AvailabilityZone: [], AvailabilityZoneId: [], Description: [], Name: [], SiteId: [], SupportedHardwareType: [], Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateOutpostCommand");var se_CreateSiteCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/sites"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Description: [], Name: [], Notes: [], OperatingAddress: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "OperatingAddress"), RackPhysicalProperties: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "RackPhysicalProperties"), ShippingAddress: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ShippingAddress"), Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateSiteCommand");var se_DeleteOutpostCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/outposts/{OutpostId}"); b.p("OutpostId", () => input.OutpostId, "{OutpostId}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteOutpostCommand");var se_DeleteSiteCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/sites/{SiteId}"); b.p("SiteId", () => input.SiteId, "{SiteId}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteSiteCommand");var se_GetCapacityTaskCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/outposts/{OutpostIdentifier}/capacity/{CapacityTaskId}"); b.p("CapacityTaskId", () => input.CapacityTaskId, "{CapacityTaskId}", false); b.p("OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetCapacityTaskCommand");var se_GetCatalogItemCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/catalog/item/{CatalogItemId}"); b.p("CatalogItemId", () => input.CatalogItemId, "{CatalogItemId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetCatalogItemCommand");var se_GetConnectionCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/connections/{ConnectionId}"); b.p("ConnectionId", () => input.ConnectionId, "{ConnectionId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetConnectionCommand");var se_GetOrderCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/orders/{OrderId}"); b.p("OrderId", () => input.OrderId, "{OrderId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetOrderCommand");var se_GetOutpostCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/outposts/{OutpostId}"); b.p("OutpostId", () => input.OutpostId, "{OutpostId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetOutpostCommand");var se_GetOutpostBillingInformationCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/outpost/{OutpostIdentifier}/billing-information"); b.p("OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false); const query = (0, import_smithy_client.map)({ [_NT]: [, input[_NT]], [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_GetOutpostBillingInformationCommand");var se_GetOutpostInstanceTypesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/outposts/{OutpostId}/instanceTypes"); b.p("OutpostId", () => input.OutpostId, "{OutpostId}", false); const query = (0, import_smithy_client.map)({ [_NT]: [, input[_NT]], [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_GetOutpostInstanceTypesCommand");var se_GetOutpostSupportedInstanceTypesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/outposts/{OutpostIdentifier}/supportedInstanceTypes"); b.p("OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false); const query = (0, import_smithy_client.map)({ [_OI]: [, input[_OI]], [_AI]: [, input[_AI]], [_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_GetOutpostSupportedInstanceTypesCommand");var se_GetSiteCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/sites/{SiteId}"); b.p("SiteId", () => input.SiteId, "{SiteId}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetSiteCommand");var se_GetSiteAddressCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/sites/{SiteId}/address"); b.p("SiteId", () => input.SiteId, "{SiteId}", false); const query = (0, import_smithy_client.map)({ [_AT]: [, (0, import_smithy_client.expectNonNull)(input[_AT], `AddressType`)] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_GetSiteAddressCommand");var se_ListAssetInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/outposts/{OutpostIdentifier}/assetInstances"); b.p("OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false); const query = (0, import_smithy_client.map)({ [_AIF]: [() => input.AssetIdFilter !== void 0, () => input[_AIF] || []], [_ITF]: [() => input.InstanceTypeFilter !== void 0, () => input[_ITF] || []], [_AIFc]: [() => input.AccountIdFilter !== void 0, () => input[_AIFc] || []], [_ASF]: [() => input.AwsServiceFilter !== void 0, () => input[_ASF] || []], [_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_ListAssetInstancesCommand");var se_ListAssetsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/outposts/{OutpostIdentifier}/assets"); b.p("OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false); const query = (0, import_smithy_client.map)({ [_HIF]: [() => input.HostIdFilter !== void 0, () => input[_HIF] || []], [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_NT]: [, input[_NT]], [_SF]: [() => input.StatusFilter !== void 0, () => input[_SF] || []] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListAssetsCommand");var se_ListBlockingInstancesForCapacityTaskCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/outposts/{OutpostIdentifier}/capacity/{CapacityTaskId}/blockingInstances"); b.p("OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false); b.p("CapacityTaskId", () => input.CapacityTaskId, "{CapacityTaskId}", 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_ListBlockingInstancesForCapacityTaskCommand");var se_ListCapacityTasksCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/capacity/tasks"); const query = (0, import_smithy_client.map)({ [_OIF]: [, input[_OIF]], [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_NT]: [, input[_NT]], [_CTSF]: [() => input.CapacityTaskStatusFilter !== void 0, () => input[_CTSF] || []] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListCapacityTasksCommand");var se_ListCatalogItemsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/catalog/items"); const query = (0, import_smithy_client.map)({ [_NT]: [, input[_NT]], [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_ICF]: [() => input.ItemClassFilter !== void 0, () => input[_ICF] || []], [_SSF]: [() => input.SupportedStorageFilter !== void 0, () => input[_SSF] || []], [_ECFF]: [() => input.EC2FamilyFilter !== void 0, () => input[_ECFF] || []] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListCatalogItemsCommand");var se_ListOrdersCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/list-orders"); const query = (0, import_smithy_client.map)({ [_OIF]: [, input[_OIF]], [_NT]: [, input[_NT]], [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListOrdersCommand");var se_ListOutpostsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/outposts"); const query = (0, import_smithy_client.map)({ [_NT]: [, input[_NT]], [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_LCSF]: [() => input.LifeCycleStatusFilter !== void 0, () => input[_LCSF] || []], [_AZF]: [() => input.AvailabilityZoneFilter !== void 0, () => input[_AZF] || []], [_AZIF]: [() => input.AvailabilityZoneIdFilter !== void 0, () => input[_AZIF] || []] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListOutpostsCommand");var se_ListSitesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/sites"); const query = (0, import_smithy_client.map)({ [_NT]: [, input[_NT]], [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_OACCF]: [() => input.OperatingAddressCountryCodeFilter !== void 0, () => input[_OACCF] || []], [_OASORF]: [() => input.OperatingAddressStateOrRegionFilter !== void 0, () => input[_OASORF] || []], [_OACF]: [() => input.OperatingAddressCityFilter !== void 0, () => input[_OACF] || []] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListSitesCommand");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_StartCapacityTaskCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/outposts/{OutpostIdentifier}/capacity"); b.p("OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { AssetId: [], DryRun: [], InstancePools: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "InstancePools"), InstancesToExclude: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "InstancesToExclude"), OrderId: [], TaskActionOnBlockingInstances: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_StartCapacityTaskCommand");var se_StartConnectionCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/connections"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { AssetId: [], ClientPublicKey: [], DeviceSerialNumber: [], NetworkInterfaceDeviceIndex: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_StartConnectionCommand");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_UpdateOutpostCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/outposts/{OutpostId}"); b.p("OutpostId", () => input.OutpostId, "{OutpostId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Description: [], Name: [], SupportedHardwareType: [] }) ); b.m("PATCH").h(headers).b(body); return b.build();}, "se_UpdateOutpostCommand");var se_UpdateSiteCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/sites/{SiteId}"); b.p("SiteId", () => input.SiteId, "{SiteId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Description: [], Name: [], Notes: [] }) ); b.m("PATCH").h(headers).b(body); return b.build();}, "se_UpdateSiteCommand");var se_UpdateSiteAddressCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/sites/{SiteId}/address"); b.p("SiteId", () => input.SiteId, "{SiteId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Address: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Address"), AddressType: [] }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_UpdateSiteAddressCommand");var se_UpdateSiteRackPhysicalPropertiesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/sites/{SiteId}/rackPhysicalProperties"); b.p("SiteId", () => input.SiteId, "{SiteId}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { FiberOpticCableType: [], MaximumSupportedWeightLbs: [], OpticalStandard: [], PowerConnector: [], PowerDrawKva: [], PowerFeedDrop: [], PowerPhase: [], UplinkCount: [], UplinkGbps: [] }) ); b.m("PATCH").h(headers).b(body); return b.build();}, "se_UpdateSiteRackPhysicalPropertiesCommand");var de_CancelCapacityTaskCommand = /* @__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_CancelCapacityTaskCommand");var de_CancelOrderCommand = /* @__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_CancelOrderCommand");var de_CreateOrderCommand = /* @__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, { Order: /* @__PURE__ */ __name((_) => de_Order(_, context), "Order") }); Object.assign(contents, doc); return contents;}, "de_CreateOrderCommand");var de_CreateOutpostCommand = /* @__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, { Outpost: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_CreateOutpostCommand");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: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_CreateSiteCommand");var de_DeleteOutpostCommand = /* @__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_DeleteOutpostCommand");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) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_DeleteSiteCommand");var de_GetCapacityTaskCommand = /* @__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, { AssetId: import_smithy_client.expectString, CapacityTaskId: import_smithy_client.expectString, CapacityTaskStatus: import_smithy_client.expectString, CompletionDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CompletionDate"), CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationDate"), DryRun: import_smithy_client.expectBoolean, Failed: import_smithy_client._json, InstancesToExclude: import_smithy_client._json, LastModifiedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedDate"), OrderId: import_smithy_client.expectString, OutpostId: import_smithy_client.expectString, RequestedInstancePools: import_smithy_client._json, TaskActionOnBlockingInstances: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetCapacityTaskCommand");var de_GetCatalogItemCommand = /* @__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, { CatalogItem: /* @__PURE__ */ __name((_) => de_CatalogItem(_, context), "CatalogItem") }); Object.assign(contents, doc); return contents;}, "de_GetCatalogItemCommand");var de_GetConnectionCommand = /* @__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, { ConnectionDetails: import_smithy_client._json, ConnectionId: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetConnectionCommand");var de_GetOrderCommand = /* @__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, { Order: /* @__PURE__ */ __name((_) => de_Order(_, context), "Order") }); Object.assign(contents, doc); return contents;}, "de_GetOrderCommand");var de_GetOutpostCommand = /* @__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, { Outpost: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_GetOutpostCommand");var de_GetOutpostBillingInformationCommand = /* @__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, { ContractEndDate: import_smithy_client.expectString, NextToken: import_smithy_client.expectString, Subscriptions: /* @__PURE__ */ __name((_) => de_SubscriptionList(_, context), "Subscriptions") }); Object.assign(contents, doc); return contents;}, "de_GetOutpostBillingInformationCommand");var de_GetOutpostInstanceTypesCommand = /* @__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, { InstanceTypes: import_smithy_client._json, NextToken: import_smithy_client.expectString, OutpostArn: import_smithy_client.expectString, OutpostId: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetOutpostInstanceTypesCommand");var de_GetOutpostSupportedInstanceTypesCommand = /* @__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, { InstanceTypes: import_smithy_client._json, NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetOutpostSupportedInstanceTypesCommand");var de_GetSiteCommand = /* @__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: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_GetSiteCommand");var de_GetSiteAddressCommand = /* @__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, { Address: import_smithy_client._json, AddressType: import_smithy_client.expectString, SiteId: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetSiteAddressCommand");var de_ListAssetInstancesCommand = /* @__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, { AssetInstances: import_smithy_client._json, NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListAssetInstancesCommand");var de_ListAssetsCommand = /* @__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, { Assets: /* @__PURE__ */ __name((_) => de_AssetListDefinition(_, context), "Assets"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListAssetsCommand");var de_ListBlockingInstancesForCapacityTaskCommand = /* @__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, { BlockingInstances: import_smithy_client._json, NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListBlockingInstancesForCapacityTaskCommand");var de_ListCapacityTasksCommand = /* @__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, { CapacityTasks: /* @__PURE__ */ __name((_) => de_CapacityTaskList(_, context), "CapacityTasks"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListCapacityTasksCommand");var de_ListCatalogItemsCommand = /* @__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, { CatalogItems: /* @__PURE__ */ __name((_) => de_CatalogItemListDefinition(_, context), "CatalogItems"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListCatalogItemsCommand");var de_ListOrdersCommand = /* @__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, Orders: /* @__PURE__ */ __name((_) => de_OrderSummaryListDefinition(_, context), "Orders") }); Object.assign(contents, doc); return contents;}, "de_ListOrdersCommand");var de_ListOutpostsCommand = /* @__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, Outposts: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_ListOutpostsCommand");var de_ListSitesCommand = /* @__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: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_ListSitesCommand");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, { Tags: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_ListTagsForResourceCommand");var de_StartCapacityTaskCommand = /* @__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, { AssetId: import_smithy_client.expectString, CapacityTaskId: import_smithy_client.expectString, CapacityTaskStatus: import_smithy_client.expectString, CompletionDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CompletionDate"), CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationDate"), DryRun: import_smithy_client.expectBoolean, Failed: import_smithy_client._json, InstancesToExclude: import_smithy_client._json, LastModifiedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedDate"), OrderId: import_smithy_client.expectString, OutpostId: import_smithy_client.expectString, RequestedInstancePools: import_smithy_client._json, TaskActionOnBlockingInstances: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_StartCapacityTaskCommand");var de_StartConnectionCommand = /* @__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, { ConnectionId: import_smithy_client.expectString, UnderlayIpAddress: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_StartConnectionCommand");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_UpdateOutpostCommand = /* @__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, { Outpost: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_UpdateOutpostCommand");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: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_UpdateSiteCommand");var de_UpdateSiteAddressCommand = /* @__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, { Address: import_smithy_client._json, AddressType: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_UpdateSiteAddressCommand");var de_UpdateSiteRackPhysicalPropertiesCommand = /* @__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: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_UpdateSiteRackPhysicalPropertiesCommand");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.outposts#AccessDeniedException": throw await de_AccessDeniedExceptionRes(parsedOutput, context); case "ConflictException": case "com.amazonaws.outposts#ConflictException": throw await de_ConflictExceptionRes(parsedOutput, context); case "InternalServerException": case "com.amazonaws.outposts#InternalServerException": throw await de_InternalServerExceptionRes(parsedOutput, context); case "NotFoundException": case "com.amazonaws.outposts#NotFoundException": throw await de_NotFoundExceptionRes(parsedOutput, context); case "ValidationException": case "com.amazonaws.outposts#ValidationException": throw await de_ValidationExceptionRes(parsedOutput, context); case "ServiceQuotaExceededException": case "com.amazonaws.outposts#ServiceQuotaExceededException": throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context); default: const parsedBody = parsedOutput.body; return throwDefaultError({ output, parsedBody, errorCode }); }}, "de_CommandError");var throwDefaultError = (0, import_smithy_client.withBaseException)(OutpostsServiceException);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_InternalServerExceptionRes = /* @__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 InternalServerException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InternalServerExceptionRes");var de_NotFoundExceptionRes = /* @__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 NotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_NotFoundExceptionRes");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, { Message: 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_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, { Message: 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_AssetInfo = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { AssetId: import_smithy_client.expectString, AssetLocation: /* @__PURE__ */ __name((_) => de_AssetLocation(_, context), "AssetLocation"), AssetType: import_smithy_client.expectString, ComputeAttributes: import_smithy_client._json, RackId: import_smithy_client.expectString });}, "de_AssetInfo");var de_AssetListDefinition = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_AssetInfo(entry, context); }); return retVal;}, "de_AssetListDefinition");var de_AssetLocation = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { RackElevation: import_smithy_client.limitedParseFloat32 });}, "de_AssetLocation");var de_CapacityTaskList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_CapacityTaskSummary(entry, context); }); return retVal;}, "de_CapacityTaskList");var de_CapacityTaskSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { AssetId: import_smithy_client.expectString, CapacityTaskId: import_smithy_client.expectString, CapacityTaskStatus: import_smithy_client.expectString, CompletionDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CompletionDate"), CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationDate"), LastModifiedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedDate"), OrderId: import_smithy_client.expectString, OutpostId: import_smithy_client.expectString });}, "de_CapacityTaskSummary");var de_CatalogItem = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { CatalogItemId: import_smithy_client.expectString, EC2Capacities: import_smithy_client._json, ItemStatus: import_smithy_client.expectString, PowerKva: import_smithy_client.limitedParseFloat32, SupportedStorage: import_smithy_client._json, SupportedUplinkGbps: import_smithy_client._json, WeightLbs: import_smithy_client.expectInt32 });}, "de_CatalogItem");var de_CatalogItemListDefinition = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_CatalogItem(entry, context); }); return retVal;}, "de_CatalogItemListDefinition");var de_Order = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { LineItems: import_smithy_client._json, OrderFulfilledDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "OrderFulfilledDate"), OrderId: import_smithy_client.expectString, OrderSubmissionDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "OrderSubmissionDate"), OrderType: import_smithy_client.expectString, OutpostId: import_smithy_client.expectString, PaymentOption: import_smithy_client.expectString, PaymentTerm: import_smithy_client.expectString, Status: import_smithy_client.expectString });}, "de_Order");var de_OrderSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { LineItemCountsByStatus: import_smithy_client._json, OrderFulfilledDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "OrderFulfilledDate"), OrderId: import_smithy_client.expectString, OrderSubmissionDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "OrderSubmissionDate"), OrderType: import_smithy_client.expectString, OutpostId: import_smithy_client.expectString, Status: import_smithy_client.expectString });}, "de_OrderSummary");var de_OrderSummaryListDefinition = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_OrderSummary(entry, context); }); return retVal;}, "de_OrderSummaryListDefinition");var de_Subscription = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { BeginDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "BeginDate"), EndDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndDate"), MonthlyRecurringPrice: import_smithy_client.limitedParseDouble, OrderIds: import_smithy_client._json, SubscriptionId: import_smithy_client.expectString, SubscriptionStatus: import_smithy_client.expectString, SubscriptionType: import_smithy_client.expectString, UpfrontPrice: import_smithy_client.limitedParseDouble });}, "de_Subscription");var de_SubscriptionList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_Subscription(entry, context); }); return retVal;}, "de_SubscriptionList");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 _AI = "AssetId";var _AIF = "AssetIdFilter";var _AIFc = "AccountIdFilter";var _ASF = "AwsServiceFilter";var _AT = "AddressType";var _AZF = "AvailabilityZoneFilter";var _AZIF = "AvailabilityZoneIdFilter";var _CTSF = "CapacityTaskStatusFilter";var _ECFF = "EC2FamilyFilter";var _HIF = "HostIdFilter";var _ICF = "ItemClassFilter";var _ITF = "InstanceTypeFilter";var _LCSF = "LifeCycleStatusFilter";var _MR = "MaxResults";var _NT = "NextToken";var _OACCF = "OperatingAddressCountryCodeFilter";var _OACF = "OperatingAddressCityFilter";var _OASORF = "OperatingAddressStateOrRegionFilter";var _OI = "OrderId";var _OIF = "OutpostIdentifierFilter";var _SF = "StatusFilter";var _SSF = "SupportedStorageFilter";var _TK = "TagKeys";var _tK = "tagKeys"; // src/commands/CancelCapacityTaskCommand.tsvar CancelCapacityTaskCommand = 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("OutpostsOlafService", "CancelCapacityTask", {}).n("OutpostsClient", "CancelCapacityTaskCommand").f(void 0, void 0).ser(se_CancelCapacityTaskCommand).de(de_CancelCapacityTaskCommand).build() { static { __name(this, "CancelCapacityTaskCommand"); }}; // src/commands/CancelOrderCommand.ts var CancelOrderCommand = 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("OutpostsOlafService", "CancelOrder", {}).n("OutpostsClient", "CancelOrderCommand").f(void 0, void 0).ser(se_CancelOrderCommand).de(de_CancelOrderCommand).build() { static { __name(this, "CancelOrderCommand"); }}; // src/commands/CreateOrderCommand.ts var CreateOrderCommand = 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("OutpostsOlafService", "CreateOrder", {}).n("OutpostsClient", "CreateOrderCommand").f(void 0, void 0).ser(se_CreateOrderCommand).de(de_CreateOrderCommand).build() { static { __name(this, "CreateOrderCommand"); }}; // src/commands/CreateOutpostCommand.ts var CreateOutpostCommand = 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("OutpostsOlafService", "CreateOutpost", {}).n("OutpostsClient", "CreateOutpostCommand").f(void 0, void 0).ser(se_CreateOutpostCommand).de(de_CreateOutpostCommand).build() { static { __name(this, "CreateOutpostCommand"); }}; // 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("OutpostsOlafService", "CreateSite", {}).n("OutpostsClient", "CreateSiteCommand").f(void 0, void 0).ser(se_CreateSiteCommand).de(de_CreateSiteCommand).build() { static { __name(this, "CreateSiteCommand"); }}; // src/commands/DeleteOutpostCommand.ts var DeleteOutpostCommand = 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("OutpostsOlafService", "DeleteOutpost", {}).n("OutpostsClient", "DeleteOutpostCommand").f(void 0, void 0).ser(se_DeleteOutpostCommand).de(de_DeleteOutpostCommand).build() { static { __name(this, "DeleteOutpostCommand"); }}; // 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("OutpostsOlafService", "DeleteSite", {}).n("OutpostsClient", "DeleteSiteCommand").f(void 0, void 0).ser(se_DeleteSiteCommand).de(de_DeleteSiteCommand).build() { static { __name(this, "DeleteSiteCommand"); }}; // src/commands/GetCapacityTaskCommand.ts var GetCapacityTaskCommand = 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("OutpostsOlafService", "GetCapacityTask", {}).n("OutpostsClient", "GetCapacityTaskCommand").f(void 0, void 0).ser(se_GetCapacityTaskCommand).de(de_GetCapacityTaskCommand).build() { static { __name(this, "GetCapacityTaskCommand"); }}; // src/commands/GetCatalogItemCommand.ts var GetCatalogItemCommand = 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("OutpostsOlafService", "GetCatalogItem", {}).n("OutpostsClient", "GetCatalogItemCommand").f(void 0, void 0).ser(se_GetCatalogItemCommand).de(de_GetCatalogItemCommand).build() { static { __name(this, "GetCatalogItemCommand"); }}; // src/commands/GetConnectionCommand.ts var GetConnectionCommand = 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("OutpostsOlafService", "GetConnection", {}).n("OutpostsClient", "GetConnectionCommand").f(void 0, void 0).ser(se_GetConnectionCommand).de(de_GetConnectionCommand).build() { static { __name(this, "GetConnectionCommand"); }}; // src/commands/GetOrderCommand.ts var GetOrderCommand = 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("OutpostsOlafService", "GetOrder", {}).n("OutpostsClient", "GetOrderCommand").f(void 0, void 0).ser(se_GetOrderCommand).de(de_GetOrderCommand).build() { static { __name(this, "GetOrderCommand"); }}; // src/commands/GetOutpostBillingInformationCommand.ts var GetOutpostBillingInformationCommand = 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("OutpostsOlafService", "GetOutpostBillingInformation", {}).n("OutpostsClient", "GetOutpostBillingInformationCommand").f(void 0, void 0).ser(se_GetOutpostBillingInformationCommand).de(de_GetOutpostBillingInformationCommand).build() { static { __name(this, "GetOutpostBillingInformationCommand"); }}; // src/commands/GetOutpostCommand.ts var GetOutpostCommand = 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("OutpostsOlafService", "GetOutpost", {}).n("OutpostsClient", "GetOutpostCommand").f(void 0, void 0).ser(se_GetOutpostCommand).de(de_GetOutpostCommand).build() { static { __name(this, "GetOutpostCommand"); }}; // src/commands/GetOutpostInstanceTypesCommand.ts var GetOutpostInstanceTypesCommand = 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("OutpostsOlafService", "GetOutpostInstanceTypes", {}).n("OutpostsClient", "GetOutpostInstanceTypesCommand").f(void 0, void 0).ser(se_GetOutpostInstanceTypesCommand).de(de_GetOutpostInstanceTypesCommand).build() { static { __name(this, "GetOutpostInstanceTypesCommand"); }}; // src/commands/GetOutpostSupportedInstanceTypesCommand.ts var GetOutpostSupportedInstanceTypesCommand = 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("OutpostsOlafService", "GetOutpostSupportedInstanceTypes", {}).n("OutpostsClient", "GetOutpostSupportedInstanceTypesCommand").f(void 0, void 0).ser(se_GetOutpostSupportedInstanceTypesCommand).de(de_GetOutpostSupportedInstanceTypesCommand).build() { static { __name(this, "GetOutpostSupportedInstanceTypesCommand"); }}; // src/commands/GetSiteAddressCommand.ts var GetSiteAddressCommand = 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("OutpostsOlafService", "GetSiteAddress", {}).n("OutpostsClient", "GetSiteAddressCommand").f(void 0, void 0).ser(se_GetSiteAddressCommand).de(de_GetSiteAddressCommand).build() { static { __name(this, "GetSiteAddressCommand"); }}; // src/commands/GetSiteCommand.ts var GetSiteCommand = 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("OutpostsOlafService", "GetSite", {}).n("OutpostsClient", "GetSiteCommand").f(void 0, void 0).ser(se_GetSiteCommand).de(de_GetSiteCommand).build() { static { __name(this, "GetSiteCommand"); }}; // src/commands/ListAssetInstancesCommand.ts var ListAssetInstancesCommand = 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("OutpostsOlafService", "ListAssetInstances", {}).n("OutpostsClient", "ListAssetInstancesCommand").f(void 0, void 0).ser(se_ListAssetInstancesCommand).de(de_ListAssetInstancesCommand).build() { static { __name(this, "ListAssetInstancesCommand"); }}; // src/commands/ListAssetsCommand.ts var ListAssetsCommand = 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("OutpostsOlafService", "ListAssets", {}).n("OutpostsClient", "ListAssetsCommand").f(void 0, void 0).ser(se_ListAssetsCommand).de(de_ListAssetsCommand).build() { static { __name(this, "ListAssetsCommand"); }}; // src/commands/ListBlockingInstancesForCapacityTaskCommand.ts var ListBlockingInstancesForCapacityTaskCommand = 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("OutpostsOlafService", "ListBlockingInstancesForCapacityTask", {}).n("OutpostsClient", "ListBlockingInstancesForCapacityTaskCommand").f(void 0, void 0).ser(se_ListBlockingInstancesForCapacityTaskCommand).de(de_ListBlockingInstancesForCapacityTaskCommand).build() { static { __name(this, "ListBlockingInstancesForCapacityTaskCommand"); }}; // src/commands/ListCapacityTasksCommand.ts var ListCapacityTasksCommand = 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("OutpostsOlafService", "ListCapacityTasks", {}).n("OutpostsClient", "ListCapacityTasksCommand").f(void 0, void 0).ser(se_ListCapacityTasksCommand).de(de_ListCapacityTasksCommand).build() { static { __name(this, "ListCapacityTasksCommand"); }}; // src/commands/ListCatalogItemsCommand.ts var ListCatalogItemsCommand = 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("OutpostsOlafService", "ListCatalogItems", {}).n("OutpostsClient", "ListCatalogItemsCommand").f(void 0, void 0).ser(se_ListCatalogItemsCommand).de(de_ListCatalogItemsCommand).build() { static { __name(this, "ListCatalogItemsCommand"); }}; // src/commands/ListOrdersCommand.ts var ListOrdersCommand = 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("OutpostsOlafService", "ListOrders", {}).n("OutpostsClient", "ListOrdersCommand").f(void 0, void 0).ser(se_ListOrdersCommand).de(de_ListOrdersCommand).build() { static { __name(this, "ListOrdersCommand"); }}; // src/commands/ListOutpostsCommand.ts var ListOutpostsCommand = 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("OutpostsOlafService", "ListOutposts", {}).n("OutpostsClient", "ListOutpostsCommand").f(void 0, void 0).ser(se_ListOutpostsCommand).de(de_ListOutpostsCommand).build() { static { __name(this, "ListOutpostsCommand"); }}; // src/commands/ListSitesCommand.ts var ListSitesCommand = 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("OutpostsOlafService", "ListSites", {}).n("OutpostsClient", "ListSitesCommand").f(void 0, void 0).ser(se_ListSitesCommand).de(de_ListSitesCommand).build() { static { __name(this, "ListSitesCommand"); }}; // 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("OutpostsOlafService", "ListTagsForResource", {}).n("OutpostsClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() { static { __name(this, "ListTagsForResourceCommand"); }}; // src/commands/StartCapacityTaskCommand.ts var StartCapacityTaskCommand = 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("OutpostsOlafService", "StartCapacityTask", {}).n("OutpostsClient", "StartCapacityTaskCommand").f(void 0, void 0).ser(se_StartCapacityTaskCommand).de(de_StartCapacityTaskCommand).build() { static { __name(this, "StartCapacityTaskCommand"); }}; // src/commands/StartConnectionCommand.ts var StartConnectionCommand = 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("OutpostsOlafService", "StartConnection", {}).n("OutpostsClient", "StartConnectionCommand").f(void 0, void 0).ser(se_StartConnectionCommand).de(de_StartConnectionCommand).build() { static { __name(this, "StartConnectionCommand"); }}; // 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("OutpostsOlafService", "TagResource", {}).n("OutpostsClient", "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("OutpostsOlafService", "UntagResource", {}).n("OutpostsClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() { static { __name(this, "UntagResourceCommand"); }}; // src/commands/UpdateOutpostCommand.ts var UpdateOutpostCommand = 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("OutpostsOlafService", "UpdateOutpost", {}).n("OutpostsClient", "UpdateOutpostCommand").f(void 0, void 0).ser(se_UpdateOutpostCommand).de(de_UpdateOutpostCommand).build() { static { __name(this, "UpdateOutpostCommand"); }}; // src/commands/UpdateSiteAddressCommand.ts var UpdateSiteAddressCommand = 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("OutpostsOlafService", "UpdateSiteAddress", {}).n("OutpostsClient", "UpdateSiteAddressCommand").f(void 0, void 0).ser(se_UpdateSiteAddressCommand).de(de_UpdateSiteAddressCommand).build() { static { __name(this, "UpdateSiteAddressCommand"); }}; // 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("OutpostsOlafService", "UpdateSite", {}).n("OutpostsClient", "UpdateSiteCommand").f(void 0, void 0).ser(se_UpdateSiteCommand).de(de_UpdateSiteCommand).build() { static { __name(this, "UpdateSiteCommand"); }}; // src/commands/UpdateSiteRackPhysicalPropertiesCommand.ts var UpdateSiteRackPhysicalPropertiesCommand = 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("OutpostsOlafService", "UpdateSiteRackPhysicalProperties", {}).n("OutpostsClient", "UpdateSiteRackPhysicalPropertiesCommand").f(void 0, void 0).ser(se_UpdateSiteRackPhysicalPropertiesCommand).de(de_UpdateSiteRackPhysicalPropertiesCommand).build() { static { __name(this, "UpdateSiteRackPhysicalPropertiesCommand"); }}; // src/Outposts.tsvar commands = { CancelCapacityTaskCommand, CancelOrderCommand, CreateOrderCommand, CreateOutpostCommand, CreateSiteCommand, DeleteOutpostCommand, DeleteSiteCommand, GetCapacityTaskCommand, GetCatalogItemCommand, GetConnectionCommand, GetOrderCommand, GetOutpostCommand, GetOutpostBillingInformationCommand, GetOutpostInstanceTypesCommand, GetOutpostSupportedInstanceTypesCommand, GetSiteCommand, GetSiteAddressCommand, ListAssetInstancesCommand, ListAssetsCommand, ListBlockingInstancesForCapacityTaskCommand, ListCapacityTasksCommand, ListCatalogItemsCommand, ListOrdersCommand, ListOutpostsCommand, ListSitesCommand, ListTagsForResourceCommand, StartCapacityTaskCommand, StartConnectionCommand, TagResourceCommand, UntagResourceCommand, UpdateOutpostCommand, UpdateSiteCommand, UpdateSiteAddressCommand, UpdateSiteRackPhysicalPropertiesCommand};var Outposts = class extends OutpostsClient { static { __name(this, "Outposts"); }};(0, import_smithy_client.createAggregatedClient)(commands, Outposts); // src/pagination/GetOutpostBillingInformationPaginator.ts var paginateGetOutpostBillingInformation = (0, import_core.createPaginator)(OutpostsClient, GetOutpostBillingInformationCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/GetOutpostInstanceTypesPaginator.ts var paginateGetOutpostInstanceTypes = (0, import_core.createPaginator)(OutpostsClient, GetOutpostInstanceTypesCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/GetOutpostSupportedInstanceTypesPaginator.ts var paginateGetOutpostSupportedInstanceTypes = (0, import_core.createPaginator)(OutpostsClient, GetOutpostSupportedInstanceTypesCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListAssetInstancesPaginator.ts var paginateListAssetInstances = (0, import_core.createPaginator)(OutpostsClient, ListAssetInstancesCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListAssetsPaginator.ts var paginateListAssets = (0, import_core.createPaginator)(OutpostsClient, ListAssetsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListBlockingInstancesForCapacityTaskPaginator.ts var paginateListBlockingInstancesForCapacityTask = (0, import_core.createPaginator)(OutpostsClient, ListBlockingInstancesForCapacityTaskCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListCapacityTasksPaginator.ts var paginateListCapacityTasks = (0, import_core.createPaginator)(OutpostsClient, ListCapacityTasksCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListCatalogItemsPaginator.ts var paginateListCatalogItems = (0, import_core.createPaginator)(OutpostsClient, ListCatalogItemsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListOrdersPaginator.ts var paginateListOrders = (0, import_core.createPaginator)(OutpostsClient, ListOrdersCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListOutpostsPaginator.ts var paginateListOutposts = (0, import_core.createPaginator)(OutpostsClient, ListOutpostsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListSitesPaginator.ts var paginateListSites = (0, import_core.createPaginator)(OutpostsClient, ListSitesCommand, "NextToken", "NextToken", "MaxResults");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { OutpostsServiceException, __Client, OutpostsClient, Outposts, $Command, CancelCapacityTaskCommand, CancelOrderCommand, CreateOrderCommand, CreateOutpostCommand, CreateSiteCommand, DeleteOutpostCommand, DeleteSiteCommand, GetCapacityTaskCommand, GetCatalogItemCommand, GetConnectionCommand, GetOrderCommand, GetOutpostBillingInformationCommand, GetOutpostCommand, GetOutpostInstanceTypesCommand, GetOutpostSupportedInstanceTypesCommand, GetSiteAddressCommand, GetSiteCommand, ListAssetInstancesCommand, ListAssetsCommand, ListBlockingInstancesForCapacityTaskCommand, ListCapacityTasksCommand, ListCatalogItemsCommand, ListOrdersCommand, ListOutpostsCommand, ListSitesCommand, ListTagsForResourceCommand, StartCapacityTaskCommand, StartConnectionCommand, TagResourceCommand, UntagResourceCommand, UpdateOutpostCommand, UpdateSiteAddressCommand, UpdateSiteCommand, UpdateSiteRackPhysicalPropertiesCommand, paginateGetOutpostBillingInformation, paginateGetOutpostInstanceTypes, paginateGetOutpostSupportedInstanceTypes, paginateListAssetInstances, paginateListAssets, paginateListBlockingInstancesForCapacityTask, paginateListCapacityTasks, paginateListCatalogItems, paginateListOrders, paginateListOutposts, paginateListSites, AccessDeniedException, AddressType, AssetType, ComputeAssetState, AWSServiceName, AssetState, ResourceType, ConflictException, InternalServerException, NotFoundException, ValidationException, CapacityTaskFailureType, CapacityTaskStatus, CatalogItemStatus, SupportedStorageEnum, CatalogItemClass, PaymentOption, PaymentTerm, ShipmentCarrier, LineItemStatus, OrderType, OrderStatus, ServiceQuotaExceededException, SupportedHardwareType, FiberOpticCableType, MaximumSupportedWeightLbs, OpticalStandard, PowerConnector, PowerDrawKva, PowerFeedDrop, PowerPhase, UplinkCount, UplinkGbps, TaskActionOnBlockingInstances, SubscriptionStatus, SubscriptionType});