/var/runtime/node_modules/@aws-sdk/client-s3outposts/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, { AccessDeniedException: () => AccessDeniedException, ConflictException: () => ConflictException, CreateEndpointCommand: () => CreateEndpointCommand, DeleteEndpointCommand: () => DeleteEndpointCommand, EndpointAccessType: () => EndpointAccessType, EndpointStatus: () => EndpointStatus, InternalServerException: () => InternalServerException, ListEndpointsCommand: () => ListEndpointsCommand, ListOutpostsWithS3Command: () => ListOutpostsWithS3Command, ListSharedEndpointsCommand: () => ListSharedEndpointsCommand, OutpostOfflineException: () => OutpostOfflineException, ResourceNotFoundException: () => ResourceNotFoundException, S3Outposts: () => S3Outposts, S3OutpostsClient: () => S3OutpostsClient, S3OutpostsServiceException: () => S3OutpostsServiceException, ThrottlingException: () => ThrottlingException, ValidationException: () => ValidationException, __Client: () => import_smithy_client.Client, paginateListEndpoints: () => paginateListEndpoints, paginateListOutpostsWithS3: () => paginateListOutpostsWithS3, paginateListSharedEndpoints: () => paginateListSharedEndpoints});module.exports = __toCommonJS(index_exports); // src/S3OutpostsClient.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: "s3-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/S3OutpostsClient.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/S3OutpostsClient.tsvar S3OutpostsClient = class extends import_smithy_client.Client { static { __name(this, "S3OutpostsClient"); } /** * The resolved configuration of S3OutpostsClient class. This is resolved and normalized from the {@link S3OutpostsClientConfig | 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.defaultS3OutpostsHttpAuthSchemeParametersProvider, 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/S3Outposts.ts // src/commands/CreateEndpointCommand.ts var import_middleware_serde = require("@smithy/middleware-serde"); // src/protocols/Aws_restJson1.tsvar import_core2 = require("@aws-sdk/core"); // src/models/S3OutpostsServiceException.ts var S3OutpostsServiceException = class _S3OutpostsServiceException extends import_smithy_client.ServiceException { static { __name(this, "S3OutpostsServiceException"); } /** * @internal */ constructor(options) { super(options); Object.setPrototypeOf(this, _S3OutpostsServiceException.prototype); }}; // src/models/models_0.tsvar AccessDeniedException = class _AccessDeniedException extends S3OutpostsServiceException { static { __name(this, "AccessDeniedException"); } name = "AccessDeniedException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "AccessDeniedException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _AccessDeniedException.prototype); this.Message = opts.Message; }};var ConflictException = class _ConflictException extends S3OutpostsServiceException { static { __name(this, "ConflictException"); } name = "ConflictException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "ConflictException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ConflictException.prototype); this.Message = opts.Message; }};var EndpointAccessType = { CUSTOMER_OWNED_IP: "CustomerOwnedIp", PRIVATE: "Private"};var InternalServerException = class _InternalServerException extends S3OutpostsServiceException { 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 OutpostOfflineException = class _OutpostOfflineException extends S3OutpostsServiceException { static { __name(this, "OutpostOfflineException"); } name = "OutpostOfflineException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "OutpostOfflineException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _OutpostOfflineException.prototype); this.Message = opts.Message; }};var ResourceNotFoundException = class _ResourceNotFoundException extends S3OutpostsServiceException { static { __name(this, "ResourceNotFoundException"); } name = "ResourceNotFoundException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "ResourceNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourceNotFoundException.prototype); this.Message = opts.Message; }};var ThrottlingException = class _ThrottlingException extends S3OutpostsServiceException { static { __name(this, "ThrottlingException"); } name = "ThrottlingException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "ThrottlingException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ThrottlingException.prototype); this.Message = opts.Message; }};var ValidationException = class _ValidationException extends S3OutpostsServiceException { 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 EndpointStatus = { AVAILABLE: "Available", CREATE_FAILED: "Create_Failed", DELETE_FAILED: "Delete_Failed", DELETING: "Deleting", PENDING: "Pending"}; // src/protocols/Aws_restJson1.tsvar se_CreateEndpointCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/S3Outposts/CreateEndpoint"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { AccessType: [], CustomerOwnedIpv4Pool: [], OutpostId: [], SecurityGroupId: [], SubnetId: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateEndpointCommand");var se_DeleteEndpointCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/S3Outposts/DeleteEndpoint"); const query = (0, import_smithy_client.map)({ [_eI]: [, (0, import_smithy_client.expectNonNull)(input[_EI], `EndpointId`)], [_oI]: [, (0, import_smithy_client.expectNonNull)(input[_OI], `OutpostId`)] }); let body; b.m("DELETE").h(headers).q(query).b(body); return b.build();}, "se_DeleteEndpointCommand");var se_ListEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/S3Outposts/ListEndpoints"); 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_ListEndpointsCommand");var se_ListOutpostsWithS3Command = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/S3Outposts/ListOutpostsWithS3"); 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_ListOutpostsWithS3Command");var se_ListSharedEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/S3Outposts/ListSharedEndpoints"); const query = (0, import_smithy_client.map)({ [_nT]: [, input[_NT]], [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()], [_oI]: [, (0, import_smithy_client.expectNonNull)(input[_OI], `OutpostId`)] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListSharedEndpointsCommand");var de_CreateEndpointCommand = /* @__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, { EndpointArn: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_CreateEndpointCommand");var de_DeleteEndpointCommand = /* @__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_DeleteEndpointCommand");var de_ListEndpointsCommand = /* @__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, { Endpoints: /* @__PURE__ */ __name((_) => de_Endpoints(_, context), "Endpoints"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListEndpointsCommand");var de_ListOutpostsWithS3Command = /* @__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_ListOutpostsWithS3Command");var de_ListSharedEndpointsCommand = /* @__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, { Endpoints: /* @__PURE__ */ __name((_) => de_Endpoints(_, context), "Endpoints"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListSharedEndpointsCommand");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.s3outposts#AccessDeniedException": throw await de_AccessDeniedExceptionRes(parsedOutput, context); case "ConflictException": case "com.amazonaws.s3outposts#ConflictException": throw await de_ConflictExceptionRes(parsedOutput, context); case "InternalServerException": case "com.amazonaws.s3outposts#InternalServerException": throw await de_InternalServerExceptionRes(parsedOutput, context); case "OutpostOfflineException": case "com.amazonaws.s3outposts#OutpostOfflineException": throw await de_OutpostOfflineExceptionRes(parsedOutput, context); case "ResourceNotFoundException": case "com.amazonaws.s3outposts#ResourceNotFoundException": throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); case "ThrottlingException": case "com.amazonaws.s3outposts#ThrottlingException": throw await de_ThrottlingExceptionRes(parsedOutput, context); case "ValidationException": case "com.amazonaws.s3outposts#ValidationException": throw await de_ValidationExceptionRes(parsedOutput, context); default: const parsedBody = parsedOutput.body; return throwDefaultError({ output, parsedBody, errorCode }); }}, "de_CommandError");var throwDefaultError = (0, import_smithy_client.withBaseException)(S3OutpostsServiceException);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 }); 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_OutpostOfflineExceptionRes = /* @__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 OutpostOfflineException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_OutpostOfflineExceptionRes");var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new ResourceNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ResourceNotFoundExceptionRes");var de_ThrottlingExceptionRes = /* @__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 ThrottlingException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ThrottlingExceptionRes");var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { 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_Endpoint = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { AccessType: import_smithy_client.expectString, CidrBlock: import_smithy_client.expectString, CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"), CustomerOwnedIpv4Pool: import_smithy_client.expectString, EndpointArn: import_smithy_client.expectString, FailedReason: import_smithy_client._json, NetworkInterfaces: import_smithy_client._json, OutpostsId: import_smithy_client.expectString, SecurityGroupId: import_smithy_client.expectString, Status: import_smithy_client.expectString, SubnetId: import_smithy_client.expectString, VpcId: import_smithy_client.expectString });}, "de_Endpoint");var de_Endpoints = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_Endpoint(entry, context); }); return retVal;}, "de_Endpoints");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 _EI = "EndpointId";var _MR = "MaxResults";var _NT = "NextToken";var _OI = "OutpostId";var _eI = "endpointId";var _mR = "maxResults";var _nT = "nextToken";var _oI = "outpostId"; // src/commands/CreateEndpointCommand.tsvar CreateEndpointCommand = 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("S3Outposts", "CreateEndpoint", {}).n("S3OutpostsClient", "CreateEndpointCommand").f(void 0, void 0).ser(se_CreateEndpointCommand).de(de_CreateEndpointCommand).build() { static { __name(this, "CreateEndpointCommand"); }}; // src/commands/DeleteEndpointCommand.ts var DeleteEndpointCommand = 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("S3Outposts", "DeleteEndpoint", {}).n("S3OutpostsClient", "DeleteEndpointCommand").f(void 0, void 0).ser(se_DeleteEndpointCommand).de(de_DeleteEndpointCommand).build() { static { __name(this, "DeleteEndpointCommand"); }}; // src/commands/ListEndpointsCommand.ts var ListEndpointsCommand = 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("S3Outposts", "ListEndpoints", {}).n("S3OutpostsClient", "ListEndpointsCommand").f(void 0, void 0).ser(se_ListEndpointsCommand).de(de_ListEndpointsCommand).build() { static { __name(this, "ListEndpointsCommand"); }}; // src/commands/ListOutpostsWithS3Command.ts var ListOutpostsWithS3Command = 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("S3Outposts", "ListOutpostsWithS3", {}).n("S3OutpostsClient", "ListOutpostsWithS3Command").f(void 0, void 0).ser(se_ListOutpostsWithS3Command).de(de_ListOutpostsWithS3Command).build() { static { __name(this, "ListOutpostsWithS3Command"); }}; // src/commands/ListSharedEndpointsCommand.ts var ListSharedEndpointsCommand = 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("S3Outposts", "ListSharedEndpoints", {}).n("S3OutpostsClient", "ListSharedEndpointsCommand").f(void 0, void 0).ser(se_ListSharedEndpointsCommand).de(de_ListSharedEndpointsCommand).build() { static { __name(this, "ListSharedEndpointsCommand"); }}; // src/S3Outposts.tsvar commands = { CreateEndpointCommand, DeleteEndpointCommand, ListEndpointsCommand, ListOutpostsWithS3Command, ListSharedEndpointsCommand};var S3Outposts = class extends S3OutpostsClient { static { __name(this, "S3Outposts"); }};(0, import_smithy_client.createAggregatedClient)(commands, S3Outposts); // src/pagination/ListEndpointsPaginator.ts var paginateListEndpoints = (0, import_core.createPaginator)(S3OutpostsClient, ListEndpointsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListOutpostsWithS3Paginator.ts var paginateListOutpostsWithS3 = (0, import_core.createPaginator)(S3OutpostsClient, ListOutpostsWithS3Command, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListSharedEndpointsPaginator.ts var paginateListSharedEndpoints = (0, import_core.createPaginator)(S3OutpostsClient, ListSharedEndpointsCommand, "NextToken", "NextToken", "MaxResults");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { S3OutpostsServiceException, __Client, S3OutpostsClient, S3Outposts, $Command, CreateEndpointCommand, DeleteEndpointCommand, ListEndpointsCommand, ListOutpostsWithS3Command, ListSharedEndpointsCommand, paginateListEndpoints, paginateListOutpostsWithS3, paginateListSharedEndpoints, AccessDeniedException, ConflictException, EndpointAccessType, InternalServerException, OutpostOfflineException, ResourceNotFoundException, ThrottlingException, ValidationException, EndpointStatus});